]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (7813): Fix compilation, when V4L1_COMPAT is disabled
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 1 May 2008 05:17:24 +0000 (02:17 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 05:54:00 +0000 (02:54 -0300)
commitef69c8e88bafdeb896395fa5379a4b8c6a10bb08
tree3daac47bbcb02fb0ef7f9e2e0ddb94e898ddbc3c
parentb7eccc404f399ab93ed128e51ca5d6e0e5115dd2
V4L/DVB (7813): Fix compilation, when V4L1_COMPAT is disabled

This driver uses some sysfs helper functions that are available only for legacy
drivers. It also requires linux/mm.h.

This patch fixes compiliation when not in compat mode.

Thanks to Ingo Molnar for identifying this issue.

Acked-by: Jaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/stk-webcam.c