aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-28 17:40:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 15:16:02 -0800
commit291f653a140ad880426125e5e9dbb70f4c184683 (patch)
tree5f80732c03b2ba2c9b2ef339036b8871e6148d6b /scripts
parentcore: platform: let platform_driver_probe initialize module owner (diff)
downloadlinux-dev-291f653a140ad880426125e5e9dbb70f4c184683.tar.xz
linux-dev-291f653a140ad880426125e5e9dbb70f4c184683.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions