diff options
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-ams-delta.c | 2 | ||||
-rw-r--r-- | drivers/leds/leds-atmel-pwm.c | 3 | ||||
-rw-r--r-- | drivers/leds/leds-clevo-mail.c | 1 | ||||
-rw-r--r-- | drivers/leds/leds-cm-x270.c | 2 | ||||
-rw-r--r-- | drivers/leds/leds-cobalt-qube.c | 3 | ||||
-rw-r--r-- | drivers/leds/leds-corgi.c | 2 | ||||
-rw-r--r-- | drivers/leds/leds-gpio.c | 1 | ||||
-rw-r--r-- | drivers/leds/leds-h1940.c | 2 | ||||
-rw-r--r-- | drivers/leds/leds-hp6xx.c | 4 | ||||
-rw-r--r-- | drivers/leds/leds-s3c24xx.c | 1 | ||||
-rw-r--r-- | drivers/leds/leds-spitz.c | 2 | ||||
-rw-r--r-- | drivers/leds/leds-tosa.c | 2 |
12 files changed, 25 insertions, 0 deletions
diff --git a/drivers/leds/leds-ams-delta.c b/drivers/leds/leds-ams-delta.c index 9e3077463d84..c37bb0d5a0c5 100644 --- a/drivers/leds/leds-ams-delta.c +++ b/drivers/leds/leds-ams-delta.c | |||
@@ -140,6 +140,7 @@ static struct platform_driver ams_delta_led_driver = { | |||
140 | .resume = ams_delta_led_resume, | 140 | .resume = ams_delta_led_resume, |
141 | .driver = { | 141 | .driver = { |
142 | .name = "ams-delta-led", | 142 | .name = "ams-delta-led", |
143 | .owner = THIS_MODULE, | ||
143 | }, | 144 | }, |
144 | }; | 145 | }; |
145 | 146 | ||
@@ -159,3 +160,4 @@ module_exit(ams_delta_led_exit); | |||
159 | MODULE_AUTHOR("Jonathan McDowell <noodles@earth.li>"); | 160 | MODULE_AUTHOR("Jonathan McDowell <noodles@earth.li>"); |
160 | MODULE_DESCRIPTION("Amstrad Delta LED driver"); | 161 | MODULE_DESCRIPTION("Amstrad Delta LED driver"); |
161 | MODULE_LICENSE("GPL"); | 162 | MODULE_LICENSE("GPL"); |
163 | MODULE_ALIAS("platform:ams-delta-led"); | ||
diff --git a/drivers/leds/leds-atmel-pwm.c b/drivers/leds/leds-atmel-pwm.c index af61f55571fe..28db6c1444ed 100644 --- a/drivers/leds/leds-atmel-pwm.c +++ b/drivers/leds/leds-atmel-pwm.c | |||
@@ -132,6 +132,9 @@ static int __exit pwmled_remove(struct platform_device *pdev) | |||
132 | return 0; | 132 | return 0; |
133 | } | 133 | } |
134 | 134 | ||
135 | /* work with hotplug and coldplug */ | ||
136 | MODULE_ALIAS("platform:leds-atmel-pwm"); | ||
137 | |||
135 | static struct platform_driver pwmled_driver = { | 138 | static struct platform_driver pwmled_driver = { |
136 | .driver = { | 139 | .driver = { |
137 | .name = "leds-atmel-pwm", | 140 | .name = "leds-atmel-pwm", |
diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c index 6c3d33b8e383..5750b08b601f 100644 --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c | |||
@@ -170,6 +170,7 @@ static struct platform_driver clevo_mail_led_driver = { | |||
170 | .resume = clevo_mail_led_resume, | 170 | .resume = clevo_mail_led_resume, |
171 | .driver = { | 171 | .driver = { |
172 | .name = KBUILD_MODNAME, | 172 | .name = KBUILD_MODNAME, |
173 | .owner = THIS_MODULE, | ||
173 | }, | 174 | }, |
174 | }; | 175 | }; |
175 | 176 | ||
diff --git a/drivers/leds/leds-cm-x270.c b/drivers/leds/leds-cm-x270.c index 9aebef02a974..accc7eddb788 100644 --- a/drivers/leds/leds-cm-x270.c +++ b/drivers/leds/leds-cm-x270.c | |||
@@ -101,6 +101,7 @@ static struct platform_driver cmx270led_driver = { | |||
101 | #endif | 101 | #endif |
102 | .driver = { | 102 | .driver = { |
103 | .name = "cm-x270-led", | 103 | .name = "cm-x270-led", |
104 | .owner = THIS_MODULE, | ||
104 | }, | 105 | }, |
105 | }; | 106 | }; |
106 | 107 | ||
@@ -120,3 +121,4 @@ module_exit(cmx270led_exit); | |||
120 | MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>"); | 121 | MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>"); |
121 | MODULE_DESCRIPTION("CM-x270 LED driver"); | 122 | MODULE_DESCRIPTION("CM-x270 LED driver"); |
122 | MODULE_LICENSE("GPL"); | 123 | MODULE_LICENSE("GPL"); |
124 | MODULE_ALIAS("platform:cm-x270-led"); | ||
diff --git a/drivers/leds/leds-cobalt-qube.c b/drivers/leds/leds-cobalt-qube.c index d2b54b53d80a..096881a11b1a 100644 --- a/drivers/leds/leds-cobalt-qube.c +++ b/drivers/leds/leds-cobalt-qube.c | |||
@@ -75,6 +75,9 @@ static int __devexit cobalt_qube_led_remove(struct platform_device *pdev) | |||
75 | return 0; | 75 | return 0; |
76 | } | 76 | } |
77 | 77 | ||
78 | /* work with hotplug and coldplug */ | ||
79 | MODULE_ALIAS("platform:cobalt-qube-leds"); | ||
80 | |||
78 | static struct platform_driver cobalt_qube_led_driver = { | 81 | static struct platform_driver cobalt_qube_led_driver = { |
79 | .probe = cobalt_qube_led_probe, | 82 | .probe = cobalt_qube_led_probe, |
80 | .remove = __devexit_p(cobalt_qube_led_remove), | 83 | .remove = __devexit_p(cobalt_qube_led_remove), |
diff --git a/drivers/leds/leds-corgi.c b/drivers/leds/leds-corgi.c index e45f6c4b59ba..29e931f89f9c 100644 --- a/drivers/leds/leds-corgi.c +++ b/drivers/leds/leds-corgi.c | |||
@@ -99,6 +99,7 @@ static struct platform_driver corgiled_driver = { | |||
99 | #endif | 99 | #endif |
100 | .driver = { | 100 | .driver = { |
101 | .name = "corgi-led", | 101 | .name = "corgi-led", |
102 | .owner = THIS_MODULE, | ||
102 | }, | 103 | }, |
103 | }; | 104 | }; |
104 | 105 | ||
@@ -118,3 +119,4 @@ module_exit(corgiled_exit); | |||
118 | MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>"); | 119 | MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>"); |
119 | MODULE_DESCRIPTION("Corgi LED driver"); | 120 | MODULE_DESCRIPTION("Corgi LED driver"); |
120 | MODULE_LICENSE("GPL"); | 121 | MODULE_LICENSE("GPL"); |
122 | MODULE_ALIAS("platform:corgi-led"); | ||
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 4c0b05852cb6..1aae8b332134 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -199,3 +199,4 @@ module_exit(gpio_led_exit); | |||
199 | MODULE_AUTHOR("Raphael Assenat <raph@8d.com>"); | 199 | MODULE_AUTHOR("Raphael Assenat <raph@8d.com>"); |
200 | MODULE_DESCRIPTION("GPIO LED driver"); | 200 | MODULE_DESCRIPTION("GPIO LED driver"); |
201 | MODULE_LICENSE("GPL"); | 201 | MODULE_LICENSE("GPL"); |
202 | MODULE_ALIAS("platform:leds-gpio"); | ||
diff --git a/drivers/leds/leds-h1940.c b/drivers/leds/leds-h1940.c index 677c99325be5..6e51c9b61027 100644 --- a/drivers/leds/leds-h1940.c +++ b/drivers/leds/leds-h1940.c | |||
@@ -139,6 +139,7 @@ static int h1940leds_remove(struct platform_device *pdev) | |||
139 | static struct platform_driver h1940leds_driver = { | 139 | static struct platform_driver h1940leds_driver = { |
140 | .driver = { | 140 | .driver = { |
141 | .name = "h1940-leds", | 141 | .name = "h1940-leds", |
142 | .owner = THIS_MODULE, | ||
142 | }, | 143 | }, |
143 | .probe = h1940leds_probe, | 144 | .probe = h1940leds_probe, |
144 | .remove = h1940leds_remove, | 145 | .remove = h1940leds_remove, |
@@ -161,3 +162,4 @@ module_exit(h1940leds_exit); | |||
161 | MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>"); | 162 | MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>"); |
162 | MODULE_DESCRIPTION("LED driver for the iPAQ H1940"); | 163 | MODULE_DESCRIPTION("LED driver for the iPAQ H1940"); |
163 | MODULE_LICENSE("GPL"); | 164 | MODULE_LICENSE("GPL"); |
165 | MODULE_ALIAS("platform:h1940-leds"); | ||
diff --git a/drivers/leds/leds-hp6xx.c b/drivers/leds/leds-hp6xx.c index 82d4ec384797..870f5a3789e8 100644 --- a/drivers/leds/leds-hp6xx.c +++ b/drivers/leds/leds-hp6xx.c | |||
@@ -90,6 +90,9 @@ static int hp6xxled_remove(struct platform_device *pdev) | |||
90 | return 0; | 90 | return 0; |
91 | } | 91 | } |
92 | 92 | ||
93 | /* work with hotplug and coldplug */ | ||
94 | MODULE_ALIAS("platform:hp6xx-led"); | ||
95 | |||
93 | static struct platform_driver hp6xxled_driver = { | 96 | static struct platform_driver hp6xxled_driver = { |
94 | .probe = hp6xxled_probe, | 97 | .probe = hp6xxled_probe, |
95 | .remove = hp6xxled_remove, | 98 | .remove = hp6xxled_remove, |
@@ -99,6 +102,7 @@ static struct platform_driver hp6xxled_driver = { | |||
99 | #endif | 102 | #endif |
100 | .driver = { | 103 | .driver = { |
101 | .name = "hp6xx-led", | 104 | .name = "hp6xx-led", |
105 | .owner = THIS_MODULE, | ||
102 | }, | 106 | }, |
103 | }; | 107 | }; |
104 | 108 | ||
diff --git a/drivers/leds/leds-s3c24xx.c b/drivers/leds/leds-s3c24xx.c index 0fd640751294..0d10e119d8f5 100644 --- a/drivers/leds/leds-s3c24xx.c +++ b/drivers/leds/leds-s3c24xx.c | |||
@@ -160,3 +160,4 @@ module_exit(s3c24xx_led_exit); | |||
160 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); | 160 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); |
161 | MODULE_DESCRIPTION("S3C24XX LED driver"); | 161 | MODULE_DESCRIPTION("S3C24XX LED driver"); |
162 | MODULE_LICENSE("GPL"); | 162 | MODULE_LICENSE("GPL"); |
163 | MODULE_ALIAS("platform:s3c24xx_led"); | ||
diff --git a/drivers/leds/leds-spitz.c b/drivers/leds/leds-spitz.c index 93e1012b17e6..87007cc362c1 100644 --- a/drivers/leds/leds-spitz.c +++ b/drivers/leds/leds-spitz.c | |||
@@ -105,6 +105,7 @@ static struct platform_driver spitzled_driver = { | |||
105 | #endif | 105 | #endif |
106 | .driver = { | 106 | .driver = { |
107 | .name = "spitz-led", | 107 | .name = "spitz-led", |
108 | .owner = THIS_MODULE, | ||
108 | }, | 109 | }, |
109 | }; | 110 | }; |
110 | 111 | ||
@@ -124,3 +125,4 @@ module_exit(spitzled_exit); | |||
124 | MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>"); | 125 | MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>"); |
125 | MODULE_DESCRIPTION("Spitz LED driver"); | 126 | MODULE_DESCRIPTION("Spitz LED driver"); |
126 | MODULE_LICENSE("GPL"); | 127 | MODULE_LICENSE("GPL"); |
128 | MODULE_ALIAS("platform:spitz-led"); | ||
diff --git a/drivers/leds/leds-tosa.c b/drivers/leds/leds-tosa.c index 9e0a188fbb0a..7ebecc41a9be 100644 --- a/drivers/leds/leds-tosa.c +++ b/drivers/leds/leds-tosa.c | |||
@@ -109,6 +109,7 @@ static struct platform_driver tosaled_driver = { | |||
109 | .resume = tosaled_resume, | 109 | .resume = tosaled_resume, |
110 | .driver = { | 110 | .driver = { |
111 | .name = "tosa-led", | 111 | .name = "tosa-led", |
112 | .owner = THIS_MODULE, | ||
112 | }, | 113 | }, |
113 | }; | 114 | }; |
114 | 115 | ||
@@ -128,3 +129,4 @@ module_exit(tosaled_exit); | |||
128 | MODULE_AUTHOR("Dirk Opfer <Dirk@Opfer-Online.de>"); | 129 | MODULE_AUTHOR("Dirk Opfer <Dirk@Opfer-Online.de>"); |
129 | MODULE_DESCRIPTION("Tosa LED driver"); | 130 | MODULE_DESCRIPTION("Tosa LED driver"); |
130 | MODULE_LICENSE("GPL"); | 131 | MODULE_LICENSE("GPL"); |
132 | MODULE_ALIAS("platform:tosa-led"); | ||