gpio: bt8xx: Fix build error due to missing include file
Subsystems (2)
PATCH 1/1 gpio: bt8xx: Fix build error due to missing include file
This patch fixes below build error:
CC [M] drivers/gpio/gpio-bt8xx.odrivers/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".
--- drivers/gpio/gpio-bt8xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-bt8xx.c +1 -1
@@ -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 */
Signature · 1 line
1.7.9.5
Hi Axel,
Em 21-08-2012 06:37, Axel Lin escreveu:
Quoted 9 lines
This patch fixes below build error:
CC [M]
drivers/gpio/gpio-bt8xx.odrivers/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
Quoted 6 lines
drivers/media/video/bt8xx/bt848.his moved todrivers/media/pci/bt8xx/bt848.hby commit68de959f773a1d49096835c411390bceff5d1549
"[media] bt8xx: move analog TV part to be together with DTV one".Signed-off-by Axel Lin <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>
Thanks for the patch!
I'll apply this one on my tree, as it is due to the drivers/media tree reorg. So, it is better to keep it close to the patches there.
Regards,
Mauro
Quoted 18 lines
--- drivers/gpio/gpio-bt8xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpio/gpio-bt8xx.c +1
-1@@ -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 */
Linus Walleij
Acked-byQuoted 16 lines · Mauro Carvalho Chehab
Hi Axel,
Em 21-08-2012 06:37, Axel Lin escreveu:
Quoted 13 lines
This patch fixes below build error:
CC [M]
drivers/gpio/gpio-bt8xx.odrivers/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.his moved todrivers/media/pci/bt8xx/bt848.hby commit68de959f773a1d49096835c411390bceff5d1549
"[media] bt8xx: move analog TV part to be together with DTV one".
Quoted 7 lines
Quoted 2 lines
Signed-off-by Axel Lin <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Thanks for the patch!
I'll apply this one on my tree, as it is due to the
drivers/mediatree reorg. So, it is better to keep it close to the patches there.
OK you take care of it!
Yours,
Linus Walleij