aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/xilinx_hwicap/xilinx_hwicap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/xilinx_hwicap/xilinx_hwicap.c')
-rw-r--r--drivers/char/xilinx_hwicap/xilinx_hwicap.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c
index 2c5d15beea35..5224da5202d3 100644
--- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c
+++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c
@@ -595,7 +595,7 @@ static const struct file_operations hwicap_fops = {
595 .llseek = noop_llseek, 595 .llseek = noop_llseek,
596}; 596};
597 597
598static int __devinit hwicap_setup(struct device *dev, int id, 598static int hwicap_setup(struct device *dev, int id,
599 const struct resource *regs_res, 599 const struct resource *regs_res,
600 const struct hwicap_driver_config *config, 600 const struct hwicap_driver_config *config,
601 const struct config_registers *config_regs) 601 const struct config_registers *config_regs)
@@ -717,7 +717,7 @@ static struct hwicap_driver_config fifo_icap_config = {
717 .reset = fifo_icap_reset, 717 .reset = fifo_icap_reset,
718}; 718};
719 719
720static int __devexit hwicap_remove(struct device *dev) 720static int hwicap_remove(struct device *dev)
721{ 721{
722 struct hwicap_drvdata *drvdata; 722 struct hwicap_drvdata *drvdata;
723 723
@@ -740,7 +740,7 @@ static int __devexit hwicap_remove(struct device *dev)
740} 740}
741 741
742#ifdef CONFIG_OF 742#ifdef CONFIG_OF
743static int __devinit hwicap_of_probe(struct platform_device *op, 743static int hwicap_of_probe(struct platform_device *op,
744 const struct hwicap_driver_config *config) 744 const struct hwicap_driver_config *config)
745{ 745{
746 struct resource res; 746 struct resource res;
@@ -785,8 +785,8 @@ static inline int hwicap_of_probe(struct platform_device *op,
785} 785}
786#endif /* CONFIG_OF */ 786#endif /* CONFIG_OF */
787 787
788static const struct of_device_id __devinitconst hwicap_of_match[]; 788static const struct of_device_id hwicap_of_match[];
789static int __devinit hwicap_drv_probe(struct platform_device *pdev) 789static int hwicap_drv_probe(struct platform_device *pdev)
790{ 790{
791 const struct of_device_id *match; 791 const struct of_device_id *match;
792 struct resource *res; 792 struct resource *res;
@@ -822,14 +822,14 @@ static int __devinit hwicap_drv_probe(struct platform_device *pdev)
822 &buffer_icap_config, regs); 822 &buffer_icap_config, regs);
823} 823}
824 824
825static int __devexit hwicap_drv_remove(struct platform_device *pdev) 825static int hwicap_drv_remove(struct platform_device *pdev)
826{ 826{
827 return hwicap_remove(&pdev->dev); 827 return hwicap_remove(&pdev->dev);
828} 828}
829 829
830#ifdef CONFIG_OF 830#ifdef CONFIG_OF
831/* Match table for device tree binding */ 831/* Match table for device tree binding */
832static const struct of_device_id __devinitconst hwicap_of_match[] = { 832static const struct of_device_id hwicap_of_match[] = {
833 { .compatible = "xlnx,opb-hwicap-1.00.b", .data = &buffer_icap_config}, 833 { .compatible = "xlnx,opb-hwicap-1.00.b", .data = &buffer_icap_config},
834 { .compatible = "xlnx,xps-hwicap-1.00.a", .data = &fifo_icap_config}, 834 { .compatible = "xlnx,xps-hwicap-1.00.a", .data = &fifo_icap_config},
835 {}, 835 {},