V4L/DVB (11242): allow v4l2 drivers to provide a get_unmapped_area handler
authorDaniel Glöckner <dg@emlix.com>
Thu, 26 Mar 2009 14:31:08 +0000 (11:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:43 +0000 (12:43 -0300)
commitc01f1a5a241604c35f93f10e06253ca70e88ee4e
treef5eea48a07cd7c08fd9bf34d32babf99d02e973d
parent8737f66e6415e8dbe8c8b26d63692d87a4ad5b29
V4L/DVB (11242): allow v4l2 drivers to provide a get_unmapped_area handler

Shared memory mappings on nommu machines require a get_unmapped_area
file operation that suggests an address for the mapping. This patch
adds a way for v4l2 drivers to provide this callback.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c
include/media/v4l2-dev.h