summaryrefslogtreecommitdiff
path: root/fs/cifs/cifs_spnego.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-04-30 15:08:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-02 15:36:10 -0700
commit0763ed2355198cdef2f6a2098e9d52eb1fe4365d (patch)
tree44ca8fdbfa940425a11adfa0fd6ac739a3350792 /fs/cifs/cifs_spnego.h
parent74641f584da8eccf30becfbb5507ab457187db22 (diff)
downloadlinux-stable-0763ed2355198cdef2f6a2098e9d52eb1fe4365d.tar.gz
linux-stable-0763ed2355198cdef2f6a2098e9d52eb1fe4365d.tar.bz2
linux-stable-0763ed2355198cdef2f6a2098e9d52eb1fe4365d.zip
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>
Diffstat (limited to 'fs/cifs/cifs_spnego.h')
0 files changed, 0 insertions, 0 deletions