diff options
author | Libo Chen <[email protected]> | 2013-05-25 12:40:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-06-03 13:59:03 -0700 |
commit | 9447057eaff871dd7c63c808de761b8732407169 (patch) | |
tree | 6284b1e6653b14ceb6a9193002eec6303a509a66 /include/linux/fpga/fpga-mgr.h | |
parent | f494513ff1b3f6bee2df329d8bbe864febf05a27 (diff) |
platform_device: use a macro instead of platform_driver_register
I found a lot of mistakes using struct platform_driver without owner
so I make a macro instead of the function platform_driver_register.
It can set owner in it, then guys don`t care about module owner again.
Signed-off-by: Libo Chen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions