]> 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)
commit50c35414e2abbc7a1e986d285e9e9da72147ad74
tree98d6dd2fb5a3f947e1ebc90e6496ec757d918a4d
parentd4892a4f0410c60b75dbbbe84a717fcb9c3606b3
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