Wolfram Sang 291f653a14 core: platform: let platform_create_bundle initialize module owner
Since commit 9447057eaff8 ("platform_device: use a macro instead of
platform_driver_register"), platform_driver_register() always overwrites
the .owner field of a platform_driver with THIS_MODULE. This breaks
platform_create_bundle() which uses it via platform_driver_probe() from
within the platform core instead of the module init. Fix it by using a
similar #define construct to obtain THIS_MODULE and pass it on later.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-06 15:16:02 -08:00
..
2014-02-20 14:54:28 +01:00
2014-07-04 18:05:05 +01:00
2014-10-15 07:23:49 +02:00
2014-10-09 22:26:02 -04:00
2010-05-21 09:37:29 -07:00
2014-09-01 13:48:59 +02:00