]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wan/z85230.c
qlge: bugfix: Add missing pci_unmap_page call in receive path.
[linux-2.6-omap-h63xx.git] / drivers / net / wan / z85230.c
index ccd9cd35ecbe9e7f82ca370739415add9e4026b3..3d00971fe5ee6a6dc488d99bf72e262cf06f8a6f 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
@@ -695,7 +689,6 @@ EXPORT_SYMBOL(z8530_nop);
  *     z8530_interrupt - Handle an interrupt from a Z8530
  *     @irq:   Interrupt number
  *     @dev_id: The Z8530 device that is interrupting.
- *     @regs: unused
  *
  *     A Z85[2]30 device has stuck its hand in the air for attention.
  *     We scan both the channels on the chip for events and then call
@@ -711,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;