mtd: fix section mismatch for doc_probe_device
authorRyosuke Saito <raitosyo@gmail.com>
Thu, 15 Mar 2012 10:19:03 +0000 (19:19 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 27 Mar 2012 00:00:55 +0000 (01:00 +0100)
commit30053b87d5b97aca28dd7a59982cbb161eaf01c6
treebaada31cb3c60ae6c51ba3a7c331aeba56d55777
parent2a5dbead29a7c081a47133eb428440147a6d8d5a
mtd: fix section mismatch for doc_probe_device

doc_probe_device() is only called from docg3_probe() 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/docg3.c