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>
This commit is contained in:

کامیت شده توسط
David S. Miller

والد
37d37695ef
کامیت
6e470d2613
@@ -467,5 +467,22 @@ struct s_smc {
|
||||
#endif /* DEBUG_BRD && DEBUG */
|
||||
} ;
|
||||
|
||||
extern const struct fddi_addr fddi_broadcast;
|
||||
|
||||
extern void all_selection_criteria(struct s_smc *smc);
|
||||
extern void card_stop(struct s_smc *smc);
|
||||
extern void init_board(struct s_smc *smc, u_char *mac_addr);
|
||||
extern int init_fplus(struct s_smc *smc);
|
||||
extern void init_plc(struct s_smc *smc);
|
||||
extern int init_smt(struct s_smc *smc, u_char * mac_addr);
|
||||
extern void mac1_irq(struct s_smc *smc, u_short stu, u_short stl);
|
||||
extern void mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l);
|
||||
extern void mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l);
|
||||
extern int pcm_status_twisted(struct s_smc *smc);
|
||||
extern void plc1_irq(struct s_smc *smc);
|
||||
extern void plc2_irq(struct s_smc *smc);
|
||||
extern void read_address(struct s_smc *smc, u_char * mac_addr);
|
||||
extern void timer_irq(struct s_smc *smc);
|
||||
|
||||
#endif /* _SCMECM_ */
|
||||
|
||||
|
مرجع در شماره جدید
Block a user