diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 03:12:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 03:12:08 -0500 |
commit | 62c5345db704c912b485f6b60dab381c9cebf268 (patch) | |
tree | 7ec3e00cc23111ca710662237b42c18a3423bead /drivers/net/wan | |
parent | 7b3dfa11cdef38bda07b99991f2f88c86df67ed2 (diff) |
drivers/net/wan/z85230.c: fix sparse warnings: un-EXPORT symbols
The symbols are only references within the translation unit they are
defined in, so un-EXPORT them und make them 'static'.
Fix this sparse warnings:
drivers/net/wan/z85230.c:604:25: warning: symbol 'z8530_dma_sync' was not declared. Should it be static?
drivers/net/wan/z85230.c:613:25: warning: symbol 'z8530_txdma_sync' 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/wan')
-rw-r--r-- | drivers/net/wan/z85230.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/wan/z85230.c b/drivers/net/wan/z85230.c index d7bf53a56e17..3d00971fe5ee 100644 --- a/drivers/net/wan/z85230.c +++ b/drivers/net/wan/z85230.c | |||
@@ -601,24 +601,18 @@ static void z8530_dma_status(struct z8530_channel *chan) | |||
601 | write_zsctrl(chan, RES_H_IUS); | 601 | write_zsctrl(chan, RES_H_IUS); |
602 | } | 602 | } |
603 | 603 | ||
604 | struct z8530_irqhandler z8530_dma_sync= | 604 | static struct z8530_irqhandler z8530_dma_sync = { |
605 | { | ||
606 | z8530_dma_rx, | 605 | z8530_dma_rx, |
607 | z8530_dma_tx, | 606 | z8530_dma_tx, |
608 | z8530_dma_status | 607 | z8530_dma_status |
609 | }; | 608 | }; |
610 | 609 | ||
611 | EXPORT_SYMBOL(z8530_dma_sync); | 610 | static struct z8530_irqhandler z8530_txdma_sync = { |
612 | |||
613 | struct z8530_irqhandler z8530_txdma_sync= | ||
614 | { | ||
615 | z8530_rx, | 611 | z8530_rx, |
616 | z8530_dma_tx, | 612 | z8530_dma_tx, |
617 | z8530_dma_status | 613 | z8530_dma_status |
618 | }; | 614 | }; |
619 | 615 | ||
620 | EXPORT_SYMBOL(z8530_txdma_sync); | ||
621 | |||
622 | /** | 616 | /** |
623 | * z8530_rx_clear - Handle RX events from a stopped chip | 617 | * z8530_rx_clear - Handle RX events from a stopped chip |
624 | * @c: Z8530 channel to shut up | 618 | * @c: Z8530 channel to shut up |