Skip to content

Commit

Permalink
[media] drxd/drxk: Don't export MulDiv32 symbol
Browse files Browse the repository at this point in the history
/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>
  • Loading branch information
Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 36e3fc8 commit b01fbc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/drxd_hard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/drxk_hard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b01fbc1

Please sign in to comment.