Commit f531f225 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] drx-j: make a few functions static

drivers/media/dvb-frontends/drx39xyj/drx_driver.c:181:7: warning: no previous prototype for 'get_scan_context' [-Wmissing-prototypes]
 void *get_scan_context(pdrx_demod_instance_t demod, void *scan_context)

drivers/media/dvb-frontends/drx39xyj/drx_driver.c: At top level:
drivers/media/dvb-frontends/drx39xyj/drx_driver.c:842:5: warning: no previous prototype for 'ctrl_dump_registers' [-Wmissing-prototypes]
 int ctrl_dump_registers(pdrx_demod_instance_t demod,
Acked-by: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 4a8a8694
...@@ -178,7 +178,7 @@ static drx_scan_func_t get_scan_function(pdrx_demod_instance_t demod) ...@@ -178,7 +178,7 @@ static drx_scan_func_t get_scan_function(pdrx_demod_instance_t demod)
* \param scan_context: Context Pointer. * \param scan_context: Context Pointer.
* \return drx_scan_func_t. * \return drx_scan_func_t.
*/ */
void *get_scan_context(pdrx_demod_instance_t demod, void *scan_context) static void *get_scan_context(pdrx_demod_instance_t demod, void *scan_context)
{ {
pdrx_common_attr_t common_attr = (pdrx_common_attr_t) (NULL); pdrx_common_attr_t common_attr = (pdrx_common_attr_t) (NULL);
...@@ -839,7 +839,7 @@ ctrl_program_tuner(pdrx_demod_instance_t demod, pdrx_channel_t channel) ...@@ -839,7 +839,7 @@ ctrl_program_tuner(pdrx_demod_instance_t demod, pdrx_channel_t channel)
* \retval DRX_STS_INVALID_ARG: Wrong parameters. * \retval DRX_STS_INVALID_ARG: Wrong parameters.
* *
*/ */
int ctrl_dump_registers(pdrx_demod_instance_t demod, static int ctrl_dump_registers(pdrx_demod_instance_t demod,
p_drx_reg_dump_t registers) p_drx_reg_dump_t registers)
{ {
u16 i = 0; u16 i = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment