diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-05-31 17:39:33 +0200 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2019-06-24 11:37:30 +0200 |
commit | f5a38c8ecf523e3b14c3766acf0d3119d96e8438 (patch) | |
tree | 638f99155a1d45fc3cac886e9014550d64a01cc8 /arch/arm/mach-pxa/lubbock.c | |
parent | Linux 5.2-rc1 (diff) | |
download | linux-f5a38c8ecf523e3b14c3766acf0d3119d96e8438.tar.xz linux-f5a38c8ecf523e3b14c3766acf0d3119d96e8438.zip |
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 <rmk+kernel@armlinux.org.uk>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/lubbock.c')
-rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index 825939877839..a74306f76c13 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c @@ -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) { |