Grant Likely
0763ed2355
of: make of_(un)register_platform_driver common code
...
Some drivers using of_register_platform_driver() wrapper break on sparc
because the wrapper isn't in the header file. This patch moves it from
Microblaze and PowerPC implementations and makes it common code.
Fixes this sparc64 allmodconfig build error (at least):
drivers/leds/leds-gpio.c: In function `gpio_led_init':
drivers/leds/leds-gpio.c:295: error: implicit declaration of function `of_register_platform_driver'
drivers/leds/leds-gpio.c: In function `gpio_led_exit':
drivers/leds/leds-gpio.c:311: error: implicit declaration of function `of_unregister_platform_driver'
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-05-02 15:36:10 -07:00
..
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-01-06 15:59:10 -08:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-02-23 10:48:57 +11:00
2008-08-04 12:02:00 +10:00
2008-12-16 15:53:23 +11:00
2008-08-04 12:02:00 +10:00
2009-01-14 19:56:50 -08:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-01-08 15:51:55 +01:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-02-23 10:48:56 +11:00
2009-03-02 15:41:30 -08:00
2008-08-04 12:02:00 +10:00
2008-08-27 05:16:38 -04:00
2008-08-04 12:02:00 +10:00
2009-03-24 13:38:30 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-02-23 15:53:03 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-12-21 14:21:15 +11:00
2008-10-08 15:27:14 -07:00
2008-12-21 14:21:16 +11:00
2008-08-04 12:02:00 +10:00
2008-12-03 21:03:54 +11:00
2008-12-31 16:52:21 +02:00
2008-08-04 12:02:00 +10:00
2009-03-24 13:47:31 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-11-06 09:22:37 +11:00
2009-04-28 13:52:19 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-09-15 11:08:08 -07:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-12-21 14:21:16 +11:00
2008-08-04 12:02:00 +10:00
2009-03-24 13:47:33 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-10-13 11:48:24 -05:00
2009-02-23 10:48:54 +11:00
2009-04-15 15:23:53 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-01 08:59:14 -07:00
2009-01-06 15:58:58 -08:00
2008-08-18 14:22:34 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-03-11 17:11:34 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 13:18:17 +10:00
2008-08-04 12:02:00 +10:00
2008-08-18 21:40:03 +02:00
2008-08-04 12:02:00 +10:00
2008-11-08 12:39:02 -06:00
2008-11-08 12:39:02 -06:00
2008-08-04 12:02:00 +10:00
2009-03-11 17:10:14 +11:00
2008-08-04 12:02:00 +10:00
2009-01-08 16:25:12 +11:00
2008-10-31 16:13:48 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 13:18:17 +10:00
2008-08-04 12:02:00 +10:00
2008-09-15 11:08:44 -07:00
2008-08-18 14:22:34 +10:00
2009-01-14 19:56:50 -08:00
2008-08-04 12:02:00 +10:00
2008-12-23 15:13:29 +11:00
2009-01-08 16:25:17 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-03-24 11:02:55 +02:00
2009-03-24 11:02:59 +02:00
2009-03-24 11:02:58 +02:00
2009-03-24 11:03:01 +02:00
2008-08-04 12:02:00 +10:00
2009-03-24 11:03:01 +02:00
2009-03-26 16:11:41 -07:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-11-19 16:04:28 +11:00
2009-04-07 15:18:59 +10:00
2008-08-04 12:02:00 +10:00
2009-03-11 17:10:14 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-10-14 10:35:27 +11:00
2009-03-24 13:47:29 +11:00
2008-12-21 14:21:15 +11:00
2008-12-21 14:21:15 +11:00
2009-02-14 14:40:04 -05:00
2009-03-30 14:04:53 +11:00
2008-08-04 12:02:00 +10:00
2009-03-24 13:47:34 +11:00
2009-04-23 08:51:22 -05:00
2009-03-19 12:51:25 +01:00
2008-11-20 10:52:53 -08:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-12-21 02:54:32 -07:00
2009-03-11 09:36:26 -06:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-06 09:09:14 -05:00
2008-08-04 12:02:00 +10:00
2008-08-20 16:34:57 +10:00
2008-11-19 16:04:58 +11:00
2008-08-04 12:02:00 +10:00
2008-08-20 16:34:59 +10:00
2009-05-02 15:36:10 -07:00
2008-08-04 12:02:00 +10:00
2009-01-08 15:51:55 +01:00
2008-09-15 11:08:08 -07:00
2009-02-14 14:40:04 -05:00
2008-08-04 12:02:00 +10:00
2009-02-14 14:40:04 -05:00
2008-08-04 12:02:00 +10:00
2009-04-14 08:48:50 -07:00
2008-08-04 12:02:00 +10:00
2008-12-16 15:53:16 +11:00
2009-03-19 19:29:26 -07:00
2008-08-04 12:02:00 +10:00
2008-12-03 20:46:35 +11:00
2008-12-03 20:46:35 +11:00
2008-12-03 20:46:35 +11:00
2009-03-24 13:47:33 +11:00
2009-03-20 15:56:57 +11:00
2009-03-20 15:56:57 +11:00
2009-03-24 13:47:34 +11:00
2009-03-24 13:47:33 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-27 19:51:58 -07:00
2009-04-23 08:51:22 -05:00
2008-08-04 12:02:00 +10:00
2009-03-27 16:58:24 +11:00
2008-12-21 14:21:14 +11:00
2009-04-02 01:05:32 +00:00
2009-03-11 17:10:17 +11:00
2009-04-07 15:18:58 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-03-24 13:47:33 +11:00
2009-03-20 15:56:57 +11:00
2009-03-20 15:56:57 +11:00
2009-04-07 15:19:01 +10:00
2009-03-20 15:56:58 +11:00
2009-03-24 13:47:33 +11:00
2009-03-24 13:47:33 +11:00
2009-03-20 15:56:57 +11:00
2009-03-24 13:47:34 +11:00
2008-11-30 11:00:15 -08:00
2008-12-30 11:14:06 -06:00
2009-01-07 09:18:53 -06:00
2008-08-04 12:02:00 +10:00
2009-04-02 10:41:31 -05:00
2008-08-04 12:02:00 +10:00
2009-04-02 10:41:31 -05:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-07 15:18:59 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-03-02 15:41:30 -08:00
2008-10-15 11:31:54 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-02 16:17:36 -05:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-09-23 13:26:52 +02:00
2008-10-22 22:55:20 -07:00
2008-11-19 16:05:06 +11:00
2008-08-04 12:02:00 +10:00
2009-02-15 22:43:33 -08:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-02 19:05:11 -07:00
2008-08-04 12:02:00 +10:00
2009-02-23 10:48:57 +11:00
2008-08-04 12:02:00 +10:00
2009-01-08 16:25:12 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-09-06 19:30:15 +01:00
2008-08-04 12:02:00 +10:00
2009-04-01 08:59:16 -07:00
2009-02-23 10:48:57 +11:00
2008-11-19 16:04:55 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-07 15:19:00 +10:00
2009-02-23 15:53:20 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-03-03 13:30:03 +11:00
2008-11-06 09:49:28 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-12-21 14:21:16 +11:00
2009-03-30 22:05:12 +10:30
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-01-13 14:47:59 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-03-11 17:11:34 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2009-04-07 15:19:00 +10:00
2008-08-04 12:02:00 +10:00
2008-11-06 09:49:22 +11:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00
2008-08-04 12:02:00 +10:00