diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 09:36:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 09:36:09 -0400 |
commit | f9b26cd8e2cb8979694c48ea642d30784e7aceb3 (patch) | |
tree | b96bf447d65444273b3d9bf83adf9f3aaae6d296 /drivers/media/video | |
parent | d509835e32bd761a2b7b446034a273da568e5573 (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/media/video')
-rw-r--r-- | drivers/media/video/smiapp/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/video/smiapp/smiapp.h | 2 |
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 @@ | |||
1 | smiapp-objs += smiapp-core.o smiapp-regs.o \ | 1 | smiapp-objs += smiapp-core.o smiapp-regs.o \ |
2 | smiapp-quirk.o smiapp-limits.o | 2 | smiapp-quirk.o smiapp-limits.o |
3 | obj-$(CONFIG_VIDEO_SMIAPP) += smiapp.o | 3 | obj-$(CONFIG_VIDEO_SMIAPP) += smiapp.o |
4 | |||
5 | 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 @@ | |||
30 | #include <media/v4l2-subdev.h> | 30 | #include <media/v4l2-subdev.h> |
31 | #include <media/smiapp.h> | 31 | #include <media/smiapp.h> |
32 | 32 | ||
33 | #include "../smiapp-pll.h" | 33 | #include "smiapp-pll.h" |
34 | #include "smiapp-reg.h" | 34 | #include "smiapp-reg.h" |
35 | #include "smiapp-regs.h" | 35 | #include "smiapp-regs.h" |
36 | #include "smiapp-quirk.h" | 36 | #include "smiapp-quirk.h" |