mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-03-05 03:01:42 +00:00
Blackfin arch: mark a bunch of local functions as static
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>
This commit is contained in:
parent
140a9aec22
commit
a161bb0510
@ -119,7 +119,7 @@ static void clear_dma_buffer(unsigned int channel)
|
|||||||
SSYNC();
|
SSYNC();
|
||||||
}
|
}
|
||||||
|
|
||||||
int __init blackfin_dma_init(void)
|
static int __init blackfin_dma_init(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ inline int check_gpio(unsigned short gpio)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BF537_FAMILY
|
#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 (usage == GPIO_USAGE) {
|
||||||
if (*port_fer[gpio_bank(gpio)] & gpio_bit(gpio))
|
if (*port_fer[gpio_bank(gpio)] & gpio_bit(gpio))
|
||||||
@ -160,7 +160,7 @@ void port_setup(unsigned short gpio, unsigned short usage)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void default_gpio(unsigned short gpio)
|
static void default_gpio(unsigned short gpio)
|
||||||
{
|
{
|
||||||
unsigned short bank,bitmask;
|
unsigned short bank,bitmask;
|
||||||
|
|
||||||
@ -177,8 +177,7 @@ void default_gpio(unsigned short gpio)
|
|||||||
gpio_bankb[bank]->edge &= ~bitmask;
|
gpio_bankb[bank]->edge &= ~bitmask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int __init bfin_gpio_init(void)
|
||||||
int __init bfin_gpio_init(void)
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user