aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 13:25:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 13:25:26 -0500
commit8292ac21f35b94e9ce717bcd038dad92a42d8396 (patch)
tree9f690c66cfb1dbb2f10ac461d305fe4920517cbb /drivers/misc
parent781551df57c792aee291cd80a6aca24cd56cdd71 (diff)
misc: lattice-ecp3-config.c: remove __dev* markings
These are now removed from the kernel, so remove them to allow the driver to build properly. Cc: Stefan Roese <sr@denx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/lattice-ecp3-config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/lattice-ecp3-config.c b/drivers/misc/lattice-ecp3-config.c
index ff3106ce8237..155700bfd2b6 100644
--- a/drivers/misc/lattice-ecp3-config.c
+++ b/drivers/misc/lattice-ecp3-config.c
@@ -184,7 +184,7 @@ static void firmware_load(const struct firmware *fw, void *context)
184 complete(&data->fw_loaded); 184 complete(&data->fw_loaded);
185} 185}
186 186
187static int __devinit lattice_ecp3_probe(struct spi_device *spi) 187static int lattice_ecp3_probe(struct spi_device *spi)
188{ 188{
189 struct fpga_data *data; 189 struct fpga_data *data;
190 int err; 190 int err;
@@ -210,7 +210,7 @@ static int __devinit lattice_ecp3_probe(struct spi_device *spi)
210 return 0; 210 return 0;
211} 211}
212 212
213static int __devexit lattice_ecp3_remove(struct spi_device *spi) 213static int lattice_ecp3_remove(struct spi_device *spi)
214{ 214{
215 struct fpga_data *data = spi_get_drvdata(spi); 215 struct fpga_data *data = spi_get_drvdata(spi);
216 216
@@ -219,7 +219,7 @@ static int __devexit lattice_ecp3_remove(struct spi_device *spi)
219 return 0; 219 return 0;
220} 220}
221 221
222static const struct spi_device_id lattice_ecp3_id[] __devinitdata = { 222static const struct spi_device_id lattice_ecp3_id[] = {
223 { "ecp3-17", 0 }, 223 { "ecp3-17", 0 },
224 { "ecp3-35", 0 }, 224 { "ecp3-35", 0 },
225 { } 225 { }
@@ -232,7 +232,7 @@ static struct spi_driver lattice_ecp3_driver = {
232 .owner = THIS_MODULE, 232 .owner = THIS_MODULE,
233 }, 233 },
234 .probe = lattice_ecp3_probe, 234 .probe = lattice_ecp3_probe,
235 .remove = __devexit_p(lattice_ecp3_remove), 235 .remove = lattice_ecp3_remove,
236 .id_table = lattice_ecp3_id, 236 .id_table = lattice_ecp3_id,
237}; 237};
238 238