From: Mike Frysinger Date: Mon, 21 May 2007 10:09:14 +0000 (+0800) Subject: Blackfin arch: mark a bunch of local functions as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a161bb0510d793a450127c12160309907af3d3f7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Blackfin arch: mark a bunch of local functions as static Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu Signed-off-by: Linus Torvalds --- diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 8ea079ebecb5..14314240718e 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c @@ -119,7 +119,7 @@ static void clear_dma_buffer(unsigned int channel) SSYNC(); } -int __init blackfin_dma_init(void) +static int __init blackfin_dma_init(void) { int i; diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index e9f24a9a46ba..bc162529119f 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c @@ -144,7 +144,7 @@ inline int check_gpio(unsigned short gpio) } #ifdef BF537_FAMILY -void port_setup(unsigned short gpio, unsigned short usage) +static void port_setup(unsigned short gpio, unsigned short usage) { if (usage == GPIO_USAGE) { if (*port_fer[gpio_bank(gpio)] & gpio_bit(gpio)) @@ -160,7 +160,7 @@ void port_setup(unsigned short gpio, unsigned short usage) #endif -void default_gpio(unsigned short gpio) +static void default_gpio(unsigned short gpio) { unsigned short bank,bitmask; @@ -177,8 +177,7 @@ void default_gpio(unsigned short gpio) gpio_bankb[bank]->edge &= ~bitmask; } - -int __init bfin_gpio_init(void) +static int __init bfin_gpio_init(void) { int i;