]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc17ae01e2d08c8c0d236108122ae7d48107c4692
tree98d6dd2fb5a3f947e1ebc90e6496ec757d918a4d
parentf3acdc5f0e139b4a254818820de1041dfeccc1b5
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