Skip to content

Commit

Permalink
Blackfin arch: mark a bunch of local functions as static
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Mike Frysinger authored and Linus Torvalds committed May 21, 2007
1 parent 140a9ae commit a161bb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/bfin_dma_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
7 changes: 3 additions & 4 deletions arch/blackfin/kernel/bfin_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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;

Expand All @@ -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;

Expand Down

0 comments on commit a161bb0

Please sign in to comment.