最終更新:2014-05-08 (木) 09:48:22 (3634d)  

module_platform_driver
Top / module_platform_driver

Helper macro for drivers that don't do anything special in module init/exit.

This eliminates a lot of boilerplate. Each module may only use this macro once, and calling it replaces module_init() and module_exit?()

module_platform_driver(__platform_driver) \
        module_driver(__platform_driver, platform_driver_register, \
                       platform_driver_unregister)

呼び出し

関連

  • platform_driver_unregister?