drivers/char/synclinkmp.c: make 3 functions static
PATCH 1/1 drivers/char/synclinkmp.c: make 3 functions static
This patch makes three needlessly global functions static.
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/char/synclinkmp.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/char/synclinkmp.c renamed from drivers/char/synclinkmp.c.old +3 -3
@@ -2313,7 +2313,7 @@tty_flip_buffer_push (tty); } -void isr_txeom (SLMP_INFO * info,unsigned char status) +static void isr_txeom (SLMP_INFO * info,unsigned char status) {if ( debug_level >=DEBUG_LEVEL_ISR ) printk("%s(%d):%s isr_txeom status=%02x\n",
@@ -3815,7 +3815,7 @@* * Return Value: pointer to SLMP_INFO if success, otherwise NULL */ -SLMP_INFO *alloc_dev (int adapter_num,int port_num,struct pci_dev *pdev) +static SLMP_INFO *alloc_dev (int adapter_num,int port_num,struct pci_dev *pdev) {SLMP_INFO *info;
@@ -5205,7 +5205,7 @@/* initialize individual SCA device (2 ports) */ -int sca_init (SLMP_INFO *info) +static int sca_init (SLMP_INFO *info) {/* set wait controller to single mem partition (low), no wait states */ write_reg (info,PABR0 ,0 );/* wait controller addr boundary 0 */