Skip to content

Commit

Permalink
[media] smiapp: fix compilation breakage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed May 15, 2012
1 parent d509835 commit f9b26cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/media/video/smiapp/Makefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion drivers/media/video/smiapp/smiapp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f9b26cd

Please sign in to comment.