diff options
-rw-r--r-- | linux/drivers/media/dvb/frontends/drx397xD.c | 1 | ||||
-rw-r--r-- | v4l/compat.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/drx397xD.c b/linux/drivers/media/dvb/frontends/drx397xD.c index f0a250512..327fff4b8 100644 --- a/linux/drivers/media/dvb/frontends/drx397xD.c +++ b/linux/drivers/media/dvb/frontends/drx397xD.c @@ -30,6 +30,7 @@ #include "dvb_frontend.h" #include "drx397xD.h" +#include "compat.h" static const char mod_name[] = "drx397xD"; diff --git a/v4l/compat.h b/v4l/compat.h index 78d6c1d75..01847a319 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -552,4 +552,8 @@ static inline struct proc_dir_entry *proc_create(const char *a, #endif #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) +#define div64_u64(a,b) div64_64(a,b) +#endif + #endif |