diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-16 11:55:04 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-16 11:55:04 +0100 |
commit | d0fbca290058bee7a54aefcc462e9ef33929d948 (patch) | |
tree | ad1f2dd8bd5d0d46e8a059359136ff9158bdcada /linux/drivers/media/video | |
parent | a499d8eb7179d0990c06b89c3362af960c7d9eef (diff) | |
download | mediapointer-dvb-s2-d0fbca290058bee7a54aefcc462e9ef33929d948.tar.gz mediapointer-dvb-s2-d0fbca290058bee7a54aefcc462e9ef33929d948.tar.bz2 |
Fix header export of videodev2.h, ivtv.h, ivtvfb.h
From: David Woodhouse <dwmw2@infradead.org>
The exported copy of videodev2.h contains this line:
#define #include <sys/time.h>
This is because for some reason it defines __user for itself -- despite
the fact that we remove all instances of __user when exporting headers.
_All_ pointers in userspace are user pointers. Fix it by removing the
unnecessary '#define __user' from the file.
The new headers ivtv.h and ivtvfb.h would have the same problem... if
whoever put them there had actually remembered to add them to the Kbuild
file while he was at it. Fix those too, and export them as was
presumably intended.
Note that includes of <linux/compiler.h> are also stripped by the header
export process, so those don't need to be conditional.
kernel-sync:
[mchehab.infradead.org: This is the backported version without the changes at include/linux/Kbuild, to be applied only at -hg]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
0 files changed, 0 insertions, 0 deletions