aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/mbcs.c2
-rw-r--r--drivers/char/xilinx_hwicap/xilinx_hwicap.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/mbcs.c b/drivers/char/mbcs.c
index f74e892711dd..e5d3e3f7a49b 100644
--- a/drivers/char/mbcs.c
+++ b/drivers/char/mbcs.c
@@ -799,7 +799,7 @@ static int mbcs_remove(struct cx_dev *dev)
799 return 0; 799 return 0;
800} 800}
801 801
802static const struct cx_device_id __devinitconst mbcs_id_table[] = { 802static const struct cx_device_id mbcs_id_table[] = {
803 { 803 {
804 .part_num = MBCS_PART_NUM, 804 .part_num = MBCS_PART_NUM,
805 .mfg_num = MBCS_MFG_NUM, 805 .mfg_num = MBCS_MFG_NUM,
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c
index 547ed74e3d12..d10085f9a0de 100644
--- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c
+++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c
@@ -785,7 +785,7 @@ 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 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;
@@ -829,7 +829,7 @@ static int __devexit hwicap_drv_remove(struct platform_device *pdev)
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 {},