ARM: shmobile: Move definition of shmobile_init_late() to header
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 15 Aug 2012 18:57:27 +0000 (20:57 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 3 Sep 2012 23:45:01 +0000 (01:45 +0200)
commit35f2b0bd5911dc0eef3f5352b6acb79c69420111
tree356642eb53ad43f5f452616844e77e5a45407d43
parent18c081e27666c5db33075bf7ae4694e091cf1d20
ARM: shmobile: Move definition of shmobile_init_late() to header

The role of the only function in the common.c file in
arch/arm/mach-shmobile, shmobile_init_late(), is to call two
initializers whose definitions depend on kernel configuration
options.  Those initializers may very well be called from a static
inline function in arm/mach-shmobile/include/mach/common.h,
though, in which makes the code a bit easier to read.  Moreover,
the common.c may be dropped entirely then.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/common.c [deleted file]
arch/arm/mach-shmobile/include/mach/common.h