prism54: convert to internal net_device_stats
[safe/jmp/linux-2.6] / drivers / net / wan / z85230.c
index 5bf7e01..ad4e79c 100644 (file)
@@ -601,24 +601,18 @@ static void z8530_dma_status(struct z8530_channel *chan)
        write_zsctrl(chan, RES_H_IUS);
 }
 
-struct z8530_irqhandler z8530_dma_sync=
-{
+static struct z8530_irqhandler z8530_dma_sync = {
        z8530_dma_rx,
        z8530_dma_tx,
        z8530_dma_status
 };
 
-EXPORT_SYMBOL(z8530_dma_sync);
-
-struct z8530_irqhandler z8530_txdma_sync=
-{
+static struct z8530_irqhandler z8530_txdma_sync = {
        z8530_rx,
        z8530_dma_tx,
        z8530_dma_status
 };
 
-EXPORT_SYMBOL(z8530_txdma_sync);
-
 /**
  *     z8530_rx_clear - Handle RX events from a stopped chip
  *     @c: Z8530 channel to shut up
@@ -710,7 +704,7 @@ EXPORT_SYMBOL(z8530_nop);
 irqreturn_t z8530_interrupt(int irq, void *dev_id)
 {
        struct z8530_dev *dev=dev_id;
-       u8 intr;
+       u8 uninitialized_var(intr);
        static volatile int locker=0;
        int work=0;
        struct z8530_irqhandler *irqs;
@@ -1781,7 +1775,8 @@ EXPORT_SYMBOL(z8530_queue_xmit);
 /*
  *     Module support
  */
-static char banner[] __initdata = KERN_INFO "Generic Z85C30/Z85230 interface driver v0.02\n";
+static const char banner[] __initdata =
+       KERN_INFO "Generic Z85C30/Z85230 interface driver v0.02\n";
 
 static int __init z85230_init_driver(void)
 {