gpio: bt8xx: Fix build error due to missing include file
authorAxel Lin <axel.lin@gmail.com>
Tue, 21 Aug 2012 09:37:13 +0000 (17:37 +0800)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Aug 2012 11:21:35 +0000 (08:21 -0300)
This patch fixes below build error:

  CC [M]  drivers/gpio/gpio-bt8xx.o
drivers/gpio/gpio-bt8xx.c:53:40: fatal error: ../media/video/bt8xx/bt848.h: No such file or directory
compilation terminated.
make[2]: *** [drivers/gpio/gpio-bt8xx.o] Error 1
make[1]: *** [drivers/gpio] Error 2
make: *** [drivers] Error 2

drivers/media/video/bt8xx/bt848.h is moved to drivers/media/pci/bt8xx/bt848.h
by commit 68de959f773a1d49096835c411390bceff5d1549
"[media] bt8xx: move analog TV part to be together with DTV one".

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/gpio/gpio-bt8xx.c

index e4cc7eb69bb2488e36c3db104feab9858fa6a764..92d555d5c25aad4c7a4df39a4ce772b8a448ed3c 100644 (file)
@@ -50,7 +50,7 @@
 #include <linux/slab.h>
 
 /* Steal the hardware definitions from the bttv driver. */
-#include "../media/video/bt8xx/bt848.h"
+#include "../media/pci/bt8xx/bt848.h"
 
 
 #define BT8XXGPIO_NR_GPIOS             24 /* We have 24 GPIO pins */