summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_fsl_lib.h
diff options
context:
space:
mode:
authorGrant Likely2011-02-23 05:02:43 +0100
committerGrant Likely2011-02-28 21:22:44 +0100
commit18d306d1375696b0e6b5b39e4744d7fa2ad5e170 (patch)
tree670eac5a75e3b6b0c76903da4d3cf6334d28fe5b /drivers/spi/spi_fsl_lib.h
parentdt: uartlite: merge platform and of_platform driver bindings (diff)
downloadkernel-qcow2-linux-18d306d1375696b0e6b5b39e4744d7fa2ad5e170.tar.gz
kernel-qcow2-linux-18d306d1375696b0e6b5b39e4744d7fa2ad5e170.tar.xz
kernel-qcow2-linux-18d306d1375696b0e6b5b39e4744d7fa2ad5e170.zip
dt/spi: Eliminate users of of_platform_{,un}register_driver
Get rid of users of of_platform_driver in drivers/spi. The of_platform_{,un}register_driver functions are going away, so the users need to be converted to using the platform_bus_type directly. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_fsl_lib.h')
-rw-r--r--drivers/spi/spi_fsl_lib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi_fsl_lib.h b/drivers/spi/spi_fsl_lib.h
index 281e060977cd..cbe881b9ea76 100644
--- a/drivers/spi/spi_fsl_lib.h
+++ b/drivers/spi/spi_fsl_lib.h
@@ -118,7 +118,6 @@ extern const char *mpc8xxx_spi_strmode(unsigned int flags);
extern int mpc8xxx_spi_probe(struct device *dev, struct resource *mem,
unsigned int irq);
extern int mpc8xxx_spi_remove(struct device *dev);
-extern int of_mpc8xxx_spi_probe(struct platform_device *ofdev,
- const struct of_device_id *ofid);
+extern int of_mpc8xxx_spi_probe(struct platform_device *ofdev);
#endif /* __SPI_FSL_LIB_H__ */