aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/devices/docg3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c
index 349bbfa74d0d..f5930caa38e7 100644
--- a/drivers/mtd/devices/docg3.c
+++ b/drivers/mtd/devices/docg3.c
@@ -1847,8 +1847,8 @@ static void __init doc_set_driver_info(int chip_id, struct mtd_info *mtd)
1847 * if a memory allocation failed. If floor 0 is checked, a reset of the ASIC is 1847 * if a memory allocation failed. If floor 0 is checked, a reset of the ASIC is
1848 * launched. 1848 * launched.
1849 */ 1849 */
1850static struct mtd_info *doc_probe_device(void __iomem *base, int floor, 1850static struct mtd_info * __init
1851 struct device *dev) 1851doc_probe_device(void __iomem *base, int floor, struct device *dev)
1852{ 1852{
1853 int ret, bbt_nbpages; 1853 int ret, bbt_nbpages;
1854 u16 chip_id, chip_id_inv; 1854 u16 chip_id, chip_id_inv;