aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-12-19 12:50:34 +0059
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-03-29 10:16:17 +0200
commitfbf70f697aea7292829a9c05cff4ca168e90c0f9 (patch)
treed9a250a8c7823e6f4a967526563318d59dc74aa2
parentb4e3ec8cb6df3af073b79c45c755b2151d1175eb (diff)
downloadbuild-fbf70f697aea7292829a9c05cff4ca168e90c0f9.tar.gz
kernel-headers: Replace DSSCOMP_* with DSSCIOC_*
Userland expects to see DSSCIOC_QUERY_DISPLAY to be available, but the kernel header actually calls it DSSCOMP_QUERY_DISPLAY. Adjust the naming when syncing headers. Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rwxr-xr-xcore/sync-kernel-headers1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sync-kernel-headers b/core/sync-kernel-headers
index 0b222ab9ad..0f8926d6c2 100755
--- a/core/sync-kernel-headers
+++ b/core/sync-kernel-headers
@@ -28,5 +28,6 @@ else
# ...But until update_all.py is improved a lot, this produces more workable results
if [ -e "$TOP"/kernel/include/video/dsscomp.h ]; then
cp -f "$TOP"/kernel/include/video/dsscomp.h "$TOP"/bionic/libc/kernel/common/video/
+ sed -i -e 's,define DSSCOMP,define DSSCIOC,g' "$TOP"/bionic/libc/kernel/common/video/dsscomp.h
fi
fi