linux-stable-rt/arch/microblaze/include/asm
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
..
Kbuild microblaze_v8: Kbuild file 2009-03-27 14:25:47 +01:00
atomic.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
auxvec.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
bitops.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
bug.h microblaze_v8: bug headers files 2009-03-27 14:25:32 +01:00
bugs.h microblaze_v8: bug headers files 2009-03-27 14:25:32 +01:00
byteorder.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
cache.h microblaze: Remove uncache shadow condition 2009-04-23 16:09:16 +02:00
cacheflush.h
checksum.h
clinkage.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
cpuinfo.h
cputable.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
cputime.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
current.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
delay.h
device.h microblaze_v8: device.h param.h topology.h 2009-03-27 14:25:44 +01:00
div64.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
dma-mapping.h microblaze_v8: dma support 2009-03-27 14:25:35 +01:00
dma.h microblaze_v8: dma support 2009-03-27 14:25:35 +01:00
elf.h microblaze_v8: headers for executables format FLAT, ELF 2009-03-27 14:25:34 +01:00
emergency-restart.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
entry.h microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too 2009-04-23 16:27:33 +02:00
errno.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
exceptions.h microblaze: Add missing declaration for die and _exception func 2009-04-23 16:09:17 +02:00
fcntl.h microblaze_v8: fcntl.h sockios.h ucontext.h 2009-03-27 14:25:45 +01:00
flat.h microblaze_v8: headers for executables format FLAT, ELF 2009-03-27 14:25:34 +01:00
ftrace.h microblaze: Add missing empty ftrace.h file 2009-04-14 10:37:18 +02:00
futex.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
gpio.h microblaze_v8: gpio.h, serial.h 2009-03-27 14:25:42 +01:00
hardirq.h microblaze_v8: headers for irq 2009-03-27 14:25:35 +01:00
hw_irq.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
io.h microblaze: remove duplicated #include's 2009-04-14 11:09:15 +02:00
ioctl.h microblaze_v8: ioctl support 2009-03-27 14:25:33 +01:00
ioctls.h microblaze_v8: ioctl support 2009-03-27 14:25:33 +01:00
ipc.h
ipcbuf.h
irq.h microblaze_v8: Interrupt handling and timer support 2009-03-27 14:25:49 +01:00
irq_regs.h microblaze_v8: headers for irq 2009-03-27 14:25:35 +01:00
irqflags.h microblaze_v8: headers for irq 2009-03-27 14:25:35 +01:00
kdebug.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
kmap_types.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
linkage.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
lmb.h
local.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
mman.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
mmu.h
mmu_context.h
module.h
msgbuf.h microblaze_v8: includes SHM*, msgbuf 2009-03-27 14:25:31 +01:00
mutex.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
namei.h microblaze_v8: namei.h 2009-03-27 14:25:42 +01:00
of_device.h
of_platform.h of: make of_(un)register_platform_driver common code 2009-05-02 15:36:10 -07:00
page.h
param.h microblaze_v8: device.h param.h topology.h 2009-03-27 14:25:44 +01:00
pci-bridge.h microblaze_v8: pci headers 2009-03-27 14:25:48 +01:00
pci.h microblaze_v8: pci headers 2009-03-27 14:25:48 +01:00
percpu.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
pgalloc.h microblaze_v8: headers pgalloc.h pgtable.h 2009-03-27 14:25:37 +01:00
pgtable.h microblaze_v8: headers pgalloc.h pgtable.h 2009-03-27 14:25:37 +01:00
poll.h microblaze_v8: pool.h socket.h 2009-03-27 14:25:44 +01:00
posix_types.h microblaze_v8: definitions of types 2009-03-27 14:25:32 +01:00
processor.h microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too 2009-04-23 16:27:33 +02:00
prom.h
ptrace.h microblaze: Rename kernel_mode to pt_mode in pt_regs 2009-04-23 16:09:17 +02:00
pvr.h
registers.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
resource.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
scatterlist.h microblaze_v8: dma support 2009-03-27 14:25:35 +01:00
sections.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
segment.h
selfmod.h
sembuf.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
serial.h microblaze_v8: gpio.h, serial.h 2009-03-27 14:25:42 +01:00
setup.h
shmbuf.h microblaze_v8: includes SHM*, msgbuf 2009-03-27 14:25:31 +01:00
shmparam.h microblaze_v8: includes SHM*, msgbuf 2009-03-27 14:25:31 +01:00
sigcontext.h microblaze_v8: sigcontext.h siginfo.h 2009-03-27 14:25:40 +01:00
siginfo.h microblaze_v8: sigcontext.h siginfo.h 2009-03-27 14:25:40 +01:00
signal.h
socket.h microblaze: Add TIMESTAMPING constants to socket.h 2009-04-14 10:37:20 +02:00
sockios.h microblaze_v8: fcntl.h sockios.h ucontext.h 2009-03-27 14:25:45 +01:00
stat.h microblaze_v8: stats headers 2009-03-27 14:25:39 +01:00
statfs.h microblaze_v8: stats headers 2009-03-27 14:25:39 +01:00
string.h microblaze_v8: string.h thread_info.h 2009-03-27 14:25:47 +01:00
swab.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
syscalls.h microblaze_v8: syscalls.h 2009-03-27 14:25:49 +01:00
system.h microblaze_v8: system.h processor.h 2009-03-27 14:25:37 +01:00
termbits.h microblaze_v8: termbits.h termios.h 2009-03-27 14:25:40 +01:00
termios.h microblaze_v8: termbits.h termios.h 2009-03-27 14:25:40 +01:00
thread_info.h microblaze_v8: string.h thread_info.h 2009-03-27 14:25:47 +01:00
timex.h
tlb.h
tlbflush.h
topology.h microblaze_v8: device.h param.h topology.h 2009-03-27 14:25:44 +01:00
types.h microblaze_v8: definitions of types 2009-03-27 14:25:32 +01:00
uaccess.h
ucontext.h microblaze_v8: fcntl.h sockios.h ucontext.h 2009-03-27 14:25:45 +01:00
unaligned.h
unistd.h microblaze: Add missing preadv and pwritev syscalls 2009-04-23 16:09:17 +02:00
user.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
vga.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
xor.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00