summaryrefslogtreecommitdiff
path: root/include/linux/cyclades.h
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-09-19 13:13:16 -0700
committerLive-CD User <linux@linux.site>2009-09-19 13:13:16 -0700
commit3aeea5b92210083c7cffd4f08a0bb141d3f2d574 (patch)
tree43c1572a397b902513e75ad08f8bdbd51b06d41e /include/linux/cyclades.h
parent0d3487294e4e175eb6371c8df8ef44b45964e0f6 (diff)
downloadlwn-3aeea5b92210083c7cffd4f08a0bb141d3f2d574.tar.gz
lwn-3aeea5b92210083c7cffd4f08a0bb141d3f2d574.zip
cyclades: introduce cyy_readb/writeb
Add helpers for io operations, so that we can eliminate huge amount of supporting code. It is now centralized in those helpers and used values are precomputed in the init phase. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/cyclades.h')
-rw-r--r--include/linux/cyclades.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h
index 1eb87a6a2f6b..bbebef7713b3 100644
--- a/include/linux/cyclades.h
+++ b/include/linux/cyclades.h
@@ -544,7 +544,7 @@ struct cyclades_port {
struct cyclades_card *card;
union {
struct {
- int filler;
+ void __iomem *base_addr;
} cyy;
struct {
struct CH_CTRL __iomem *ch_ctrl;