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

[media] drxd: Fix some CodingStyle issues

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

+5 -9
+1 -1
drivers/media/dvb/frontends/drxd.h
··· 49 49 50 50 u32 IF; 51 51 int (*pll_set) (void *priv, void *priv_params, 52 - u8 pll_addr, u8 demoda_addr, s32 * off); 52 + u8 pll_addr, u8 demoda_addr, s32 *off); 53 53 s16(*osc_deviation) (void *priv, s16 dev, int flag); 54 54 }; 55 55
+4 -4
drivers/media/dvb/frontends/drxd_firm.c
··· 36 36 /* Is written via block write, must be little endian */ 37 37 #define DATA16(x) ((x) & 0xFF), (((x)>>8) & 0xFF) 38 38 39 - #define WRBLOCK(a,l) ADDRESS(a),LENGTH(l) 40 - #define WR16(a,d) ADDRESS(a),LENGTH(1),DATA16(d) 39 + #define WRBLOCK(a, l) ADDRESS(a), LENGTH(l) 40 + #define WR16(a, d) ADDRESS(a), LENGTH(1), DATA16(d) 41 41 42 - #define END_OF_TABLE 0xFF,0xFF,0xFF,0xFF 42 + #define END_OF_TABLE 0xFF, 0xFF, 0xFF, 0xFF 43 43 44 44 /* HI firmware patches */ 45 45 ··· 63 63 /* Pins D0 and D1 of the parallel MPEG output can be used 64 64 to set the I2C address of a device. */ 65 65 66 - #define HI_RST_FUNC_ADDR ( HI_IF_RAM_USR_BEGIN__A + HI_TR_FUNC_SIZE) 66 + #define HI_RST_FUNC_ADDR (HI_IF_RAM_USR_BEGIN__A + HI_TR_FUNC_SIZE) 67 67 #define HI_RST_FUNC_SIZE 54 /* size of this function in instruction words */ 68 68 69 69 /* D0 Version */
-4
drivers/media/dvb/frontends/drxd_hard.c
··· 2782 2782 if (Read16(state, 0, 0, 0) < 0) 2783 2783 goto error; 2784 2784 2785 - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) 2786 - state->frontend.ops = &state->ops; 2787 - #else 2788 2785 memcpy(&state->frontend.ops, &drxd_ops, 2789 2786 sizeof(struct dvb_frontend_ops)); 2790 - #endif 2791 2787 state->frontend.demodulator_priv = state; 2792 2788 ConfigureMPEGOutput(state, 0); 2793 2789 return &state->frontend;