diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 06:43:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 20:37:59 -0500 |
commit | 6e470d261326801ff823a3b7a49581a8baae8698 (patch) | |
tree | 4c563eb2f8fe5b3c994424d65cc7c3c57263cc83 /drivers/net/skfp/skfddi.c | |
parent | 37d37695ef34b04ecf20586c12ec0c932283a130 (diff) |
drivers/net/skfp: fix sparse warning: Should it be static?
Impact: Move function declarations to header file.
Fix this sparse warnings:
drivers/net/skfp/cfm.c:146:6: warning: symbol 'all_selection_criteria' was not declared. Should it be static?
drivers/net/skfp/drvfbi.c:186:6: warning: symbol 'mac1_irq' was not declared. Should it be static?
drivers/net/skfp/drvfbi.c:284:6: warning: symbol 'read_address' was not declared. Should it be static?
drivers/net/skfp/drvfbi.c:323:6: warning: symbol 'init_board' was not declared. Should it be static?
drivers/net/skfp/fplustm.c:72:24: warning: symbol 'fddi_broadcast' was not declared. Should it be static?
drivers/net/skfp/fplustm.c:679:6: warning: symbol 'mac2_irq' was not declared. Should it be static?
drivers/net/skfp/fplustm.c:805:6: warning: symbol 'mac3_irq' was not declared. Should it be static?
drivers/net/skfp/fplustm.c:856:5: warning: symbol 'init_fplus' was not declared. Should it be static?
drivers/net/skfp/pcmplc.c:404:6: warning: symbol 'init_plc' was not declared. Should it be static?
drivers/net/skfp/pcmplc.c:1592:5: warning: symbol 'pcm_status_twisted' was not declared. Should it be static?
drivers/net/skfp/smtinit.c:68:5: warning: symbol 'init_smt' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/skfp/skfddi.c')
-rw-r--r-- | drivers/net/skfp/skfddi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c index 9a00e5566af7..e14aec0a7333 100644 --- a/drivers/net/skfp/skfddi.c +++ b/drivers/net/skfp/skfddi.c | |||
@@ -135,14 +135,11 @@ void dump_data(unsigned char *Data, int length); | |||
135 | 135 | ||
136 | // External functions from the hardware module | 136 | // External functions from the hardware module |
137 | extern u_int mac_drv_check_space(void); | 137 | extern u_int mac_drv_check_space(void); |
138 | extern void read_address(struct s_smc *smc, u_char * mac_addr); | ||
139 | extern void card_stop(struct s_smc *smc); | ||
140 | extern int mac_drv_init(struct s_smc *smc); | 138 | extern int mac_drv_init(struct s_smc *smc); |
141 | extern void hwm_tx_frag(struct s_smc *smc, char far * virt, u_long phys, | 139 | extern void hwm_tx_frag(struct s_smc *smc, char far * virt, u_long phys, |
142 | int len, int frame_status); | 140 | int len, int frame_status); |
143 | extern int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, | 141 | extern int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, |
144 | int frame_len, int frame_status); | 142 | int frame_len, int frame_status); |
145 | extern int init_smt(struct s_smc *smc, u_char * mac_addr); | ||
146 | extern void fddi_isr(struct s_smc *smc); | 143 | extern void fddi_isr(struct s_smc *smc); |
147 | extern void hwm_rx_frag(struct s_smc *smc, char far * virt, u_long phys, | 144 | extern void hwm_rx_frag(struct s_smc *smc, char far * virt, u_long phys, |
148 | int len, int frame_status); | 145 | int len, int frame_status); |