diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-03-01 21:52:28 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-01 21:52:28 -0500 |
commit | 7d0b0a4434dd97d8e0731241aee586460f7fb7bd (patch) | |
tree | e0ef5dfb56c2fe65e65162bfb5ccd2074664913f /arch | |
parent | 9adae9720998c10a882d4c6f9a82527bf8f62d59 (diff) |
sh: Fix up ctrl_read/write stragglers in migor setup.
ctrl_read/writeX are deprecated, this converts them over to their
__raw_read/write() counterparts.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index dc2ddc2c2d8d..7da0fc94a01e 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -633,7 +633,7 @@ static int __init migor_devices_setup(void) | |||
633 | * The original driver sets SIUB OLR/OBT, ILR/IBT, and SIUA OLR/OBT to | 633 | * The original driver sets SIUB OLR/OBT, ILR/IBT, and SIUA OLR/OBT to |
634 | * output. Need only SIUB, set to output for master mode (table 34.2) | 634 | * output. Need only SIUB, set to output for master mode (table 34.2) |
635 | */ | 635 | */ |
636 | ctrl_outw(ctrl_inw(PORT_MSELCRA) | 1, PORT_MSELCRA); | 636 | __raw_writew(__raw_readw(PORT_MSELCRA) | 1, PORT_MSELCRA); |
637 | 637 | ||
638 | i2c_register_board_info(0, migor_i2c_devices, | 638 | i2c_register_board_info(0, migor_i2c_devices, |
639 | ARRAY_SIZE(migor_i2c_devices)); | 639 | ARRAY_SIZE(migor_i2c_devices)); |