]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 17 Aug 2012 17:40:10 +0000 (19:40 +0200)
commitbb76242e6732d1d7847a84fe6f1481c528b8ef28
treeb5eaf9dbb7f430902e7dda45dd469498b5505aa7
parent0718bf7779913b1a6f04ed383ba9907d951d0324
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