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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user