OSDN Git Service

ARM: OMAP2+: Move GPMC initcall to devices.c
authorTony Lindgren <tony@atomide.com>
Thu, 20 Nov 2014 20:45:43 +0000 (12:45 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Nov 2014 20:54:26 +0000 (12:54 -0800)
commita86128093845e1947454c68040d69259c805f882
tree22e99ae736f8b8541fdd602b798d7f722e5d6118
parente639cd5bfc03de7ba642d7e8570b9e533f10e54b
ARM: OMAP2+: Move GPMC initcall to devices.c

This will us allow to just move gpmc.c to live under drivers
in the next patch.

Note that we now also remove the omap specific check for the
initcall. That's OK as gpmc_probe() checks for the pdata
and bails out for other platforms compiled in.

Also the postcore_initcall() maybe possible to change to
just regular module_init(), but let's do that in separate
patch after the move to drivers is done.

Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/gpmc.c