Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

misc: fix platform driver hotplug/coldplug

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable 'misc'
platform drivers, to re-enable auto loading.

[dbrownell@users.sourceforge.net: bugfix, registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Kay Sievers and committed by
Linus Torvalds
d6c23850 c43f89c2

+7
+2
drivers/misc/atmel-ssc.c
··· 154 154 .remove = __devexit_p(ssc_remove), 155 155 .driver = { 156 156 .name = "ssc", 157 + .owner = THIS_MODULE, 157 158 }, 158 159 }; 159 160 ··· 173 172 MODULE_AUTHOR("Hans-Christian Egtvedt <hcegtvedt@atmel.com>"); 174 173 MODULE_DESCRIPTION("SSC driver for Atmel AVR32 and AT91"); 175 174 MODULE_LICENSE("GPL"); 175 + MODULE_ALIAS("platform:ssc");
+1
drivers/misc/atmel_pwm.c
··· 407 407 408 408 MODULE_DESCRIPTION("Driver for AT32/AT91 PWM module"); 409 409 MODULE_LICENSE("GPL"); 410 + MODULE_ALIAS("platform:atmel_pwm");
+2
drivers/misc/hdpuftrs/hdpu_cpustate.c
··· 164 164 .remove = hdpu_cpustate_remove, 165 165 .driver = { 166 166 .name = HDPU_CPUSTATE_NAME, 167 + .owner = THIS_MODULE, 167 168 }, 168 169 }; 169 170 ··· 249 248 250 249 MODULE_AUTHOR("Brian Waite"); 251 250 MODULE_LICENSE("GPL"); 251 + MODULE_ALIAS("platform:" HDPU_CPUSTATE_NAME);
+2
drivers/misc/hdpuftrs/hdpu_nexus.c
··· 55 55 .remove = hdpu_nexus_remove, 56 56 .driver = { 57 57 .name = HDPU_NEXUS_NAME, 58 + .owner = THIS_MODULE, 58 59 }, 59 60 }; 60 61 ··· 152 151 153 152 MODULE_AUTHOR("Brian Waite"); 154 153 MODULE_LICENSE("GPL"); 154 + MODULE_ALIAS("platform:" HDPU_NEXUS_NAME);