Commit 3aeea5b9 authored by Jiri Slaby's avatar Jiri Slaby Committed by Live-CD User

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: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0d348729
This diff is collapsed.
...@@ -544,7 +544,7 @@ struct cyclades_port { ...@@ -544,7 +544,7 @@ struct cyclades_port {
struct cyclades_card *card; struct cyclades_card *card;
union { union {
struct { struct {
int filler; void __iomem *base_addr;
} cyy; } cyy;
struct { struct {
struct CH_CTRL __iomem *ch_ctrl; struct CH_CTRL __iomem *ch_ctrl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment