aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/w83977af_ir.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-26 03:03:19 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 03:03:19 -0500
commit0e49e64526ccd8cb78d7c4b4a732024ff221d4d0 (patch)
treea865297521ddbecb3dbe6e10108fc525508f83e9 /drivers/net/irda/w83977af_ir.c
parent678c610b5a069a0a76c3189dd9aa801e5d5cd7e0 (diff)
drivers/net/irda: fix sparse warnings: make symbols static
Fix this sparse warnings: drivers/net/irda/ma600-sir.c:239:5: warning: symbol 'ma600_reset' was not declared. Should it be static? drivers/net/irda/smsc-ircc2.c:875:5: warning: symbol 'smsc_ircc_hard_xmit_sir' was not declared. Should it be static? drivers/net/irda/smsc-ircc2.c:1131:6: warning: symbol 'smsc_ircc_set_sir_speed' was not declared. Should it be static? drivers/net/irda/smsc-ircc2.c:1897:6: warning: symbol 'smsc_ircc_sir_start' was not declared. Should it be static? drivers/net/irda/w83977af_ir.c:150:5: warning: symbol 'w83977af_open' was not declared. Should it be static? drivers/net/irda/w83977af_ir.c:313:5: warning: symbol 'w83977af_probe' was not declared. Should it be static? drivers/net/irda/w83977af_ir.c:412:6: warning: symbol 'w83977af_change_speed' was not declared. Should it be static? drivers/net/irda/w83977af_ir.c:492:5: warning: symbol 'w83977af_hard_xmit' was not declared. Should it be static? drivers/net/irda/w83977af_ir.c:734:5: warning: symbol 'w83977af_dma_receive' was not declared. Should it be static? drivers/net/irda/w83977af_ir.c:806:5: warning: symbol 'w83977af_dma_receive_complete' 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/irda/w83977af_ir.c')
-rw-r--r--drivers/net/irda/w83977af_ir.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c
index 161d591aeb97..30ec9131c5ce 100644
--- a/drivers/net/irda/w83977af_ir.c
+++ b/drivers/net/irda/w83977af_ir.c
@@ -147,8 +147,8 @@ static void __exit w83977af_cleanup(void)
147 * Open driver instance 147 * Open driver instance
148 * 148 *
149 */ 149 */
150int w83977af_open(int i, unsigned int iobase, unsigned int irq, 150static int w83977af_open(int i, unsigned int iobase, unsigned int irq,
151 unsigned int dma) 151 unsigned int dma)
152{ 152{
153 struct net_device *dev; 153 struct net_device *dev;
154 struct w83977af_ir *self; 154 struct w83977af_ir *self;
@@ -310,7 +310,7 @@ static int w83977af_close(struct w83977af_ir *self)
310 return 0; 310 return 0;
311} 311}
312 312
313int w83977af_probe( int iobase, int irq, int dma) 313static int w83977af_probe(int iobase, int irq, int dma)
314{ 314{
315 int version; 315 int version;
316 int i; 316 int i;
@@ -409,7 +409,7 @@ int w83977af_probe( int iobase, int irq, int dma)
409 return -1; 409 return -1;
410} 410}
411 411
412void w83977af_change_speed(struct w83977af_ir *self, __u32 speed) 412static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed)
413{ 413{
414 int ir_mode = HCR_SIR; 414 int ir_mode = HCR_SIR;
415 int iobase; 415 int iobase;
@@ -489,7 +489,7 @@ void w83977af_change_speed(struct w83977af_ir *self, __u32 speed)
489 * Sets up a DMA transfer to send the current frame. 489 * Sets up a DMA transfer to send the current frame.
490 * 490 *
491 */ 491 */
492int w83977af_hard_xmit(struct sk_buff *skb, struct net_device *dev) 492static int w83977af_hard_xmit(struct sk_buff *skb, struct net_device *dev)
493{ 493{
494 struct w83977af_ir *self; 494 struct w83977af_ir *self;
495 __s32 speed; 495 __s32 speed;
@@ -731,7 +731,7 @@ static void w83977af_dma_xmit_complete(struct w83977af_ir *self)
731 * if it starts to receive a frame. 731 * if it starts to receive a frame.
732 * 732 *
733 */ 733 */
734int w83977af_dma_receive(struct w83977af_ir *self) 734static int w83977af_dma_receive(struct w83977af_ir *self)
735{ 735{
736 int iobase; 736 int iobase;
737 __u8 set; 737 __u8 set;
@@ -803,7 +803,7 @@ int w83977af_dma_receive(struct w83977af_ir *self)
803 * Finished with receiving a frame 803 * Finished with receiving a frame
804 * 804 *
805 */ 805 */
806int w83977af_dma_receive_complete(struct w83977af_ir *self) 806static int w83977af_dma_receive_complete(struct w83977af_ir *self)
807{ 807{
808 struct sk_buff *skb; 808 struct sk_buff *skb;
809 struct st_fifo *st_fifo; 809 struct st_fifo *st_fifo;