summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stb6100.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-08-21 16:41:21 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-08-21 16:41:21 +0000
commit0cba7f108664f9efc0e34a388c51cb943c72d68b (patch)
treea77d2cc4d2cf50fcaab25f71ed6cf249499cc75f /linux/drivers/media/dvb/frontends/stb6100.c
parent55978f5ebca02a1b6f03e130bdcd5b6957004025 (diff)
downloadmediapointer-dvb-s2-0cba7f108664f9efc0e34a388c51cb943c72d68b.tar.gz
mediapointer-dvb-s2-0cba7f108664f9efc0e34a388c51cb943c72d68b.tar.bz2
compat: Fix build for older kernels using DIV_ROUND_CLOSEST
From: Andy Walls <awalls@radix.net> DIV_ROUND_CLOSEST() is not available on older kernels. Include compat.h in a few files to fix building v4l-dvb from mercurial on older kernels. Reported-by: Lou Otway <lotway@nildram.co.uk> Reported-by: Avo Aasma <Avo.Aasma@webit.ee> Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stb6100.c')
-rw-r--r--linux/drivers/media/dvb/frontends/stb6100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb6100.c b/linux/drivers/media/dvb/frontends/stb6100.c
index 540967545..2de9e0c01 100644
--- a/linux/drivers/media/dvb/frontends/stb6100.c
+++ b/linux/drivers/media/dvb/frontends/stb6100.c
@@ -24,6 +24,7 @@
#include <linux/module.h>
#include <linux/string.h>
+#include "compat.h"
#include "dvb_frontend.h"
#include "stb6100.h"