OSDN Git Service

ARM: OMAP2+: Limit omap_read/write usage to legacy USB drivers
authorTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 18:34:36 +0000 (10:34 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 18:34:36 +0000 (10:34 -0800)
commitacea7c7b81e8f67513aebade8cb99c7789c44d8c
tree98d6dd2fb5a3f947e1ebc90e6496ec757d918a4d
parent2c799cef4d145af2182594a41cb5e5b42f2535c5
ARM: OMAP2+: Limit omap_read/write usage to legacy USB drivers

Drivers should no longer use omap_read/write functions
but instead use ioremap + read/write functions.

As some USB legacy code is still shared between omap1 and
omap2420, let's limit the omap_read/write to plat/usb.h.

Note that the long term fix is to update the drivers to
use ioremap and read/write functions. That can now be
done as a separate patch series that is limited to the
USB drivers.

Also make sure the legacy omap1-keypad.c driver builds
if selected for 2420 based systems.

Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/io.c
arch/arm/plat-omap/include/plat/keypad.h
arch/arm/plat-omap/include/plat/usb.h