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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c
index 2c5d15beea35..547ed74e3d12 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)
@@ -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;
@@ -786,7 +786,7 @@ static inline int hwicap_of_probe(struct platform_device *op,
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 __devinitconst 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;