original_kernel/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
atomic.h
auxvec.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
clinkage.h
cpuinfo.h
cputable.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
elf.h
emergency-restart.h
entry.h microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too 2009-04-23 16:27:33 +02:00
errno.h
exceptions.h microblaze: Add missing declaration for die and _exception func 2009-04-23 16:09:17 +02:00
fcntl.h
flat.h
ftrace.h
futex.h
gpio.h
hardirq.h
hw_irq.h
io.h
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq.h
irq_regs.h
irqflags.h
kdebug.h
kmap_types.h
linkage.h
lmb.h
local.h
mman.h
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h
namei.h
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
pci-bridge.h
pci.h
percpu.h
pgalloc.h
pgtable.h
poll.h
posix_types.h
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
resource.h
scatterlist.h
sections.h
segment.h
selfmod.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
socket.h
sockios.h
stat.h
statfs.h
string.h
swab.h
syscalls.h
system.h
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h microblaze: Add missing preadv and pwritev syscalls 2009-04-23 16:09:17 +02:00
user.h
vga.h
xor.h