From: Mauro Carvalho Chehab Date: Tue, 28 Oct 2014 17:48:50 +0000 (-0200) Subject: [media] s5p-mfc: declare s5p_mfc_bus_reset as static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5932f74a116cf14b69b9b3e23dcaf8698151976e;p=linux-beck.git [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 --- diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c b/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c index 0d3661b5eaf1..fbffb102ef78 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c +++ b/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;