#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
-#include <asm/arch/sti.h>
+#include <mach/sti.h>
#include <asm/byteorder.h>
static struct clk *sti_ck;
if (unlikely(ret != 0))
goto err;
- sti_base = res->start;
+ sti_base = io_p2v(res->start);
/*
* OMAP 16xx keeps channels in a relatively sane location,
* remapped.
*/
if (cpu_is_omap16xx())
- sti_channel_base = cres->start;
+ sti_channel_base = io_p2v(cres->start);
else if (cpu_is_omap24xx()) {
unsigned int size = cres->end - cres->start;