Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] drxd_hard: get rid of warning: no previous prototype

drivers/media/dvb-frontends/drxd_hard.c:1751:5: warning: no previous prototype for 'SetOperationMode' [-Wmissing-prototypes]
drivers/media/dvb-frontends/drxd_hard.c:2615:5: warning: no previous prototype for 'DRXD_init' [-Wmissing-prototypes]
drivers/media/dvb-frontends/drxd_hard.c:2777:5: warning: no previous prototype for 'DRXD_status' [-Wmissing-prototypes]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

+5 -3
+5 -3
drivers/media/dvb-frontends/drxd_hard.c
··· 1748 1748 return status; 1749 1749 } 1750 1750 1751 - int SetOperationMode(struct drxd_state *state, int oMode) 1751 + #if 0 /* Currently unused */ 1752 + static int SetOperationMode(struct drxd_state *state, int oMode) 1752 1753 { 1753 1754 int status; 1754 1755 ··· 1789 1788 state->operation_mode = oMode; 1790 1789 return status; 1791 1790 } 1791 + #endif 1792 1792 1793 1793 static int StartDiversity(struct drxd_state *state) 1794 1794 { ··· 2614 2612 return 0; 2615 2613 } 2616 2614 2617 - int DRXD_init(struct drxd_state *state, const u8 * fw, u32 fw_size) 2615 + static int DRXD_init(struct drxd_state *state, const u8 *fw, u32 fw_size) 2618 2616 { 2619 2617 int status = 0; 2620 2618 u32 driverVersion; ··· 2776 2774 return status; 2777 2775 } 2778 2776 2779 - int DRXD_status(struct drxd_state *state, u32 * pLockStatus) 2777 + static int DRXD_status(struct drxd_state *state, u32 *pLockStatus) 2780 2778 { 2781 2779 DRX_GetLockStatus(state, pLockStatus); 2782 2780