]> 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>
Wed, 15 Aug 2012 18:57:27 +0000 (20:57 +0200)
commit20259750b4e1db2ebdaad05c29d498dd89ed3adb
tree0865748abe2c3024c7c2f37322d2c66ffb667eb8
parent0a5a8599cf16f38d7d727640eab92c600174d5f0
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