summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-05-15 10:36:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-15 10:36:09 -0300
commitf9b26cd8e2cb8979694c48ea642d30784e7aceb3 (patch)
treeb96bf447d65444273b3d9bf83adf9f3aaae6d296 /drivers
parentd509835e32bd761a2b7b446034a273da568e5573 (diff)
[media] smiapp: fix compilation breakage
The usage of ../*.h breaks out-of-tree compilation and likely breaks compilation when O= argument is used. Instead of doing that, just add the include path via Makefile. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/smiapp/Makefile2
-rw-r--r--drivers/media/video/smiapp/smiapp.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/smiapp/Makefile b/drivers/media/video/smiapp/Makefile
index 5a207eecd357..36b0cfa2c541 100644
--- a/drivers/media/video/smiapp/Makefile
+++ b/drivers/media/video/smiapp/Makefile
@@ -1,3 +1,5 @@
smiapp-objs += smiapp-core.o smiapp-regs.o \
smiapp-quirk.o smiapp-limits.o
obj-$(CONFIG_VIDEO_SMIAPP) += smiapp.o
+
+ccflags-y += -Idrivers/media/video
diff --git a/drivers/media/video/smiapp/smiapp.h b/drivers/media/video/smiapp/smiapp.h
index 805d8c8a3c18..35b9216e48cd 100644
--- a/drivers/media/video/smiapp/smiapp.h
+++ b/drivers/media/video/smiapp/smiapp.h
@@ -30,7 +30,7 @@
#include <media/v4l2-subdev.h>
#include <media/smiapp.h>
-#include "../smiapp-pll.h"
+#include "smiapp-pll.h"
#include "smiapp-reg.h"
#include "smiapp-regs.h"
#include "smiapp-quirk.h"