[media] drxd/drxk: Don't export MulDiv32 symbol
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 3 Jul 2011 20:18:57 +0000 (17:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:55:44 +0000 (17:55 -0300)
/home/v4l/v4l/patchwork/drivers/media/dvb/frontends/drxk_hard.c:181: multiple definition of `MulDiv32'
drivers/media/dvb/frontends/drxd.o:/home/v4l/v4l/patchwork/drivers/media/dvb/frontends/drxd_hard.c:236: first defined here

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxd_hard.c
drivers/media/dvb/frontends/drxk_hard.c

index f132e49e48e6156239dc63ef3e06e402f692eff1..d7afa3493f1e47ac6c865fcda56fe9e72c451ee2 100644 (file)
@@ -232,7 +232,7 @@ static int i2c_read(struct i2c_adapter *adap,
        return 0;
 }
 
-inline u32 MulDiv32(u32 a, u32 b, u32 c)
+static inline u32 MulDiv32(u32 a, u32 b, u32 c)
 {
        u64 tmp64;
 
index fbe24b6d70c713f20a138e4c54b0405db517707e..5ac5e7653cbad2219c1df442716990c8828448b0 100644 (file)
@@ -177,7 +177,7 @@ bool IsA1WithRomCode(struct drxk_state *state)
 #define DRXK_QAM_SL_SIG_POWER_QAM128      (20992)
 #define DRXK_QAM_SL_SIG_POWER_QAM256      (43520)
 
-inline u32 MulDiv32(u32 a, u32 b, u32 c)
+static inline u32 MulDiv32(u32 a, u32 b, u32 c)
 {
        u64 tmp64;