ARM: pxa/lubbock: remove lubbock_set_misc_wr() from global view
Subsystems (3)
PATCH 1/1 ARM: pxa/lubbock: remove lubbock_set_misc_wr() from global view
There are now no users of lubbock_set_misc_wr() outside lubbock.c, so make this function static.
Signed-off-by Russell King <[email protected]>
---
Hi Robert,
Please merge this patch, thanks.
arch/arm/mach-pxa/include/mach/lubbock.h | 4 ---- arch/arm/mach-pxa/lubbock.c | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-)
arch/arm/mach-pxa/include/mach/lubbock.h +0 -4
@@ -50,7 +50,3 @@#define LUBBOCK_LAST_IRQ LUBBOCK_IRQ(6)#define LUBBOCK_SA1111_IRQ_BASE (LUBBOCK_NR_IRQS + 32) - -#ifndef __ASSEMBLY__ -extern void lubbock_set_misc_wr (unsigned int mask,unsigned int set); -#endif
arch/arm/mach-pxa/lubbock.c +1 -2
@@ -119,12 +119,11 @@ void lubbock_set_hexled(uint32_t value)static struct gpio_chip *lubbock_misc_wr_gc; -void lubbock_set_misc_wr (unsigned int mask,unsigned int set) +static void lubbock_set_misc_wr (unsigned int mask,unsigned int set) {unsigned long m = mask, v = set; lubbock_misc_wr_gc->set_multiple (lubbock_misc_wr_gc, &m, &v); } -EXPORT_SYMBOL (lubbock_set_misc_wr);static int lubbock_udc_is_connected (void ) {
Signature · 7 lines
2.7.4 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Robert Jarzmik
maintainerQuoted 8 lines · Russell King
There are now no users of
lubbock_set_misc_wr()outsidelubbock.c, so make this function static.Signed-off-by Russell King <[email protected]>---
Hi Robert,Please merge this patch, thanks.
Most certainly, queued to pxa/for-next, thanks.
Cheers.
--
Robert
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel