diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:23:07 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-22 05:07:03 -0500 |
commit | 06f25510692385ed4dadd23f7d3d064d1ab11c2d (patch) | |
tree | 2affb62af83cf8082caf40ff4e68a5b1f8725e4e /drivers/mtd/nand/fsl_upm.c | |
parent | 5153b88cac39b0a14662f0e15439b826bacfe213 (diff) |
mtd: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/nand/fsl_upm.c')
-rw-r--r-- | drivers/mtd/nand/fsl_upm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c index b40661d7160e..a5643252584b 100644 --- a/drivers/mtd/nand/fsl_upm.c +++ b/drivers/mtd/nand/fsl_upm.c | |||
@@ -152,7 +152,7 @@ static void fun_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) | |||
152 | fun_wait_rnb(fun); | 152 | fun_wait_rnb(fun); |
153 | } | 153 | } |
154 | 154 | ||
155 | static int __devinit fun_chip_init(struct fsl_upm_nand *fun, | 155 | static int fun_chip_init(struct fsl_upm_nand *fun, |
156 | const struct device_node *upm_np, | 156 | const struct device_node *upm_np, |
157 | const struct resource *io_res) | 157 | const struct resource *io_res) |
158 | { | 158 | { |
@@ -201,7 +201,7 @@ err: | |||
201 | return ret; | 201 | return ret; |
202 | } | 202 | } |
203 | 203 | ||
204 | static int __devinit fun_probe(struct platform_device *ofdev) | 204 | static int fun_probe(struct platform_device *ofdev) |
205 | { | 205 | { |
206 | struct fsl_upm_nand *fun; | 206 | struct fsl_upm_nand *fun; |
207 | struct resource io_res; | 207 | struct resource io_res; |