diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-02-22 21:02:43 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-02-28 13:22:44 -0700 |
commit | 18d306d1375696b0e6b5b39e4744d7fa2ad5e170 (patch) | |
tree | 670eac5a75e3b6b0c76903da4d3cf6334d28fe5b /drivers/spi/spi_fsl_lib.h | |
parent | e5263a517688b83861d406223a0f111a6e4116ff (diff) | |
download | lwn-18d306d1375696b0e6b5b39e4744d7fa2ad5e170.tar.gz lwn-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.h | 3 |
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__ */ |