From 01bf55ef680a91a23d3ac989a19f7346ac415c71 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Sun, 23 Nov 2003 19:34:40 +0000 Subject: fix frontend private data handling. patch by Mikael Rosbacke --- linux/drivers/media/dvb/frontends/nxt6000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/frontends/nxt6000.c') diff --git a/linux/drivers/media/dvb/frontends/nxt6000.c b/linux/drivers/media/dvb/frontends/nxt6000.c index 4d90e3291..f1e138b5f 100644 --- a/linux/drivers/media/dvb/frontends/nxt6000.c +++ b/linux/drivers/media/dvb/frontends/nxt6000.c @@ -66,7 +66,7 @@ struct nxt6000_config { #define TUNER_TYPE_SP5659 1 #define TUNER_TYPE_SP5730 2 -#define FE2NXT(fe) ((struct nxt6000_config *)&(fe->data)) +#define FE2NXT(fe) ((struct nxt6000_config *)((fe)->data)) #define FREQ2DIV(freq) ((freq + 36166667) / 166667) #define dprintk if (debug) printk -- cgit v1.2.3