diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 09:01:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 09:04:01 -0400 |
commit | 2bf0f93e0d3044478bdd9e3dada19799d34dbfc2 (patch) | |
tree | 0ce42d2b4dab6300ce48e556230d02e07524f822 | |
parent | 05ad412a63d66175f8f5a3d08894cf3f1d118cbc (diff) |
[media] siano: make some functions static
drivers/media/common/siano/smsdvb-debugfs.c:51:6: warning: no previous prototype for 'smsdvb_print_dvb_stats' [-Wmissing-prototypes]
drivers/media/common/siano/smsdvb-debugfs.c:154:6: warning: no previous prototype for 'smsdvb_print_isdb_stats' [-Wmissing-prototypes]
drivers/media/common/siano/smsdvb-debugfs.c:244:6: warning: no previous prototype for 'smsdvb_print_isdb_stats_ex' [-Wmissing-prototypes]
drivers/media/common/siano/smscoreapi.c:832:5: warning: no previous prototype for 'smscore_configure_board' [-Wmissing-prototypes]
drivers/media/common/siano/smscoreapi.c:1301:5: warning: no previous prototype for 'smscore_init_device' [-Wmissing-prototypes]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/common/siano/smscoreapi.c | 4 | ||||
-rw-r--r-- | drivers/media/common/siano/smsdvb-debugfs.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/common/siano/smscoreapi.c b/drivers/media/common/siano/smscoreapi.c index e7fc4deded56..ebb9eceb1dca 100644 --- a/drivers/media/common/siano/smscoreapi.c +++ b/drivers/media/common/siano/smscoreapi.c | |||
@@ -829,7 +829,7 @@ static int smscore_init_ir(struct smscore_device_t *coredev) | |||
829 | * | 829 | * |
830 | * @return 0 on success, <0 on error. | 830 | * @return 0 on success, <0 on error. |
831 | */ | 831 | */ |
832 | int smscore_configure_board(struct smscore_device_t *coredev) | 832 | static int smscore_configure_board(struct smscore_device_t *coredev) |
833 | { | 833 | { |
834 | struct sms_board *board; | 834 | struct sms_board *board; |
835 | 835 | ||
@@ -1298,7 +1298,7 @@ static int smscore_detect_mode(struct smscore_device_t *coredev) | |||
1298 | * | 1298 | * |
1299 | * @return 0 on success, <0 on error. | 1299 | * @return 0 on success, <0 on error. |
1300 | */ | 1300 | */ |
1301 | int smscore_init_device(struct smscore_device_t *coredev, int mode) | 1301 | static int smscore_init_device(struct smscore_device_t *coredev, int mode) |
1302 | { | 1302 | { |
1303 | void *buffer; | 1303 | void *buffer; |
1304 | struct sms_msg_data *msg; | 1304 | struct sms_msg_data *msg; |
diff --git a/drivers/media/common/siano/smsdvb-debugfs.c b/drivers/media/common/siano/smsdvb-debugfs.c index 4c5691ee9eaf..0bb4430535f9 100644 --- a/drivers/media/common/siano/smsdvb-debugfs.c +++ b/drivers/media/common/siano/smsdvb-debugfs.c | |||
@@ -48,7 +48,7 @@ struct smsdvb_debugfs { | |||
48 | wait_queue_head_t stats_queue; | 48 | wait_queue_head_t stats_queue; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | void smsdvb_print_dvb_stats(struct smsdvb_debugfs *debug_data, | 51 | static void smsdvb_print_dvb_stats(struct smsdvb_debugfs *debug_data, |
52 | struct sms_stats *p) | 52 | struct sms_stats *p) |
53 | { | 53 | { |
54 | int n = 0; | 54 | int n = 0; |
@@ -151,7 +151,7 @@ void smsdvb_print_dvb_stats(struct smsdvb_debugfs *debug_data, | |||
151 | wake_up(&debug_data->stats_queue); | 151 | wake_up(&debug_data->stats_queue); |
152 | } | 152 | } |
153 | 153 | ||
154 | void smsdvb_print_isdb_stats(struct smsdvb_debugfs *debug_data, | 154 | static void smsdvb_print_isdb_stats(struct smsdvb_debugfs *debug_data, |
155 | struct sms_isdbt_stats *p) | 155 | struct sms_isdbt_stats *p) |
156 | { | 156 | { |
157 | int i, n = 0; | 157 | int i, n = 0; |
@@ -241,7 +241,7 @@ void smsdvb_print_isdb_stats(struct smsdvb_debugfs *debug_data, | |||
241 | wake_up(&debug_data->stats_queue); | 241 | wake_up(&debug_data->stats_queue); |
242 | } | 242 | } |
243 | 243 | ||
244 | void smsdvb_print_isdb_stats_ex(struct smsdvb_debugfs *debug_data, | 244 | static void smsdvb_print_isdb_stats_ex(struct smsdvb_debugfs *debug_data, |
245 | struct sms_isdbt_stats_ex *p) | 245 | struct sms_isdbt_stats_ex *p) |
246 | { | 246 | { |
247 | int i, n = 0; | 247 | int i, n = 0; |