]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: phram: fix section mismatch for phram_setup
authorRyosuke Saito <raitosyo@gmail.com>
Wed, 21 Mar 2012 09:47:47 +0000 (18:47 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 27 Mar 2012 00:02:29 +0000 (01:02 +0100)
commitb11ec57fc6e6d4882ef01a0c09a1dde58f50492e
tree554176bdb3ce0111c102f871ef035841e329a35d
parent3b27dac03972c10980ec5480ad8425fc95aae9ad
mtd: phram: fix section mismatch for phram_setup

phram_setup() is only called from init_phram() which is in .init.text,
so it must be in the same section to avoid a section mismatch warning.

Signed-off-by: Ryosuke Saito <raitosyo@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/phram.c