|
@@ -147,8 +147,8 @@ static void __exit w83977af_cleanup(void)
|
|
|
* Open driver instance
|
|
|
*
|
|
|
*/
|
|
|
-int w83977af_open(int i, unsigned int iobase, unsigned int irq,
|
|
|
- unsigned int dma)
|
|
|
+static int w83977af_open(int i, unsigned int iobase, unsigned int irq,
|
|
|
+ unsigned int dma)
|
|
|
{
|
|
|
struct net_device *dev;
|
|
|
struct w83977af_ir *self;
|
|
@@ -310,7 +310,7 @@ static int w83977af_close(struct w83977af_ir *self)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-int w83977af_probe( int iobase, int irq, int dma)
|
|
|
+static int w83977af_probe(int iobase, int irq, int dma)
|
|
|
{
|
|
|
int version;
|
|
|
int i;
|
|
@@ -409,7 +409,7 @@ int w83977af_probe( int iobase, int irq, int dma)
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
-void w83977af_change_speed(struct w83977af_ir *self, __u32 speed)
|
|
|
+static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed)
|
|
|
{
|
|
|
int ir_mode = HCR_SIR;
|
|
|
int iobase;
|
|
@@ -489,7 +489,7 @@ void w83977af_change_speed(struct w83977af_ir *self, __u32 speed)
|
|
|
* Sets up a DMA transfer to send the current frame.
|
|
|
*
|
|
|
*/
|
|
|
-int w83977af_hard_xmit(struct sk_buff *skb, struct net_device *dev)
|
|
|
+static int w83977af_hard_xmit(struct sk_buff *skb, struct net_device *dev)
|
|
|
{
|
|
|
struct w83977af_ir *self;
|
|
|
__s32 speed;
|
|
@@ -731,7 +731,7 @@ static void w83977af_dma_xmit_complete(struct w83977af_ir *self)
|
|
|
* if it starts to receive a frame.
|
|
|
*
|
|
|
*/
|
|
|
-int w83977af_dma_receive(struct w83977af_ir *self)
|
|
|
+static int w83977af_dma_receive(struct w83977af_ir *self)
|
|
|
{
|
|
|
int iobase;
|
|
|
__u8 set;
|
|
@@ -803,7 +803,7 @@ int w83977af_dma_receive(struct w83977af_ir *self)
|
|
|
* Finished with receiving a frame
|
|
|
*
|
|
|
*/
|
|
|
-int w83977af_dma_receive_complete(struct w83977af_ir *self)
|
|
|
+static int w83977af_dma_receive_complete(struct w83977af_ir *self)
|
|
|
{
|
|
|
struct sk_buff *skb;
|
|
|
struct st_fifo *st_fifo;
|