Browse Source

[media] s5p-mfc: declare s5p_mfc_bus_reset as static

drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c:132:5: warning: no previous prototype for 's5p_mfc_bus_reset' [-Wmissing-prototypes]
 int s5p_mfc_bus_reset(struct s5p_mfc_dev *dev)
     ^

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Mauro Carvalho Chehab 10 năm trước cách đây
mục cha
commit
5932f74a11
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c

+ 1 - 1
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c

@@ -129,7 +129,7 @@ int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev)
 	return 0;
 }
 
-int s5p_mfc_bus_reset(struct s5p_mfc_dev *dev)
+static int s5p_mfc_bus_reset(struct s5p_mfc_dev *dev)
 {
 	unsigned int status;
 	unsigned long timeout;