[ARM] omap: convert OMAP drivers to use ioremap()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
690b5a13b2
commit
55c381e489
@@ -574,7 +574,12 @@ static int sossi_init(struct omapfb_device *fbdev)
|
||||
struct clk *dpll1out_ck;
|
||||
int r;
|
||||
|
||||
sossi.base = (void __iomem *)IO_ADDRESS(OMAP_SOSSI_BASE);
|
||||
sossi.base = ioremap(OMAP_SOSSI_BASE, SZ_1K);
|
||||
if (!sossi.base) {
|
||||
dev_err(fbdev->dev, "can't ioremap SoSSI\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
sossi.fbdev = fbdev;
|
||||
spin_lock_init(&sossi.lock);
|
||||
|
||||
@@ -665,6 +670,7 @@ static void sossi_cleanup(void)
|
||||
{
|
||||
omap_lcdc_free_dma_callback();
|
||||
clk_put(sossi.fck);
|
||||
iounmap(sossi.base);
|
||||
}
|
||||
|
||||
struct lcd_ctrl_extif omap1_ext_if = {
|
||||
|
||||
Reference in New Issue
Block a user