diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-09-19 16:13:16 -0400 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 16:13:16 -0400 |
commit | 3aeea5b92210083c7cffd4f08a0bb141d3f2d574 (patch) | |
tree | 43c1572a397b902513e75ad08f8bdbd51b06d41e /include/linux/cyclades.h | |
parent | 0d3487294e4e175eb6371c8df8ef44b45964e0f6 (diff) |
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.h | 2 |
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 { | |||
544 | struct cyclades_card *card; | 544 | struct cyclades_card *card; |
545 | union { | 545 | union { |
546 | struct { | 546 | struct { |
547 | int filler; | 547 | void __iomem *base_addr; |
548 | } cyy; | 548 | } cyy; |
549 | struct { | 549 | struct { |
550 | struct CH_CTRL __iomem *ch_ctrl; | 550 | struct CH_CTRL __iomem *ch_ctrl; |