* [PATCH] gpio: bt8xx: Fix build error due to missing include file
@ 2012-08-21 9:37 Axel Lin
2012-08-21 11:23 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 3+ messages in thread
From: Axel Lin @ 2012-08-21 9:37 UTC (permalink / raw)
To: linux-kernel
Cc: Michael Buesch, Grant Likely, Linus Walleij,
Mauro Carvalho Chehab
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>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
---
drivers/gpio/gpio-bt8xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
index e4cc7eb..92d555d 100644
--- a/drivers/gpio/gpio-bt8xx.c
+++ b/drivers/gpio/gpio-bt8xx.c
@@ -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 */
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: bt8xx: Fix build error due to missing include file
2012-08-21 9:37 [PATCH] gpio: bt8xx: Fix build error due to missing include file Axel Lin
@ 2012-08-21 11:23 ` Mauro Carvalho Chehab
2012-08-21 13:02 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2012-08-21 11:23 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Michael Buesch, Grant Likely, Linus Walleij
Hi Axel,
Em 21-08-2012 06:37, Axel Lin escreveu:
> 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>
> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
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
> ---
> drivers/gpio/gpio-bt8xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
> index e4cc7eb..92d555d 100644
> --- a/drivers/gpio/gpio-bt8xx.c
> +++ b/drivers/gpio/gpio-bt8xx.c
> @@ -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 */
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: bt8xx: Fix build error due to missing include file
2012-08-21 11:23 ` Mauro Carvalho Chehab
@ 2012-08-21 13:02 ` Linus Walleij
0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2012-08-21 13:02 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Axel Lin, linux-kernel, Michael Buesch, Grant Likely
On Tue, Aug 21, 2012 at 1:23 PM, Mauro Carvalho Chehab
<mchehab@redhat.com> wrote:
> Hi Axel,
>
> Em 21-08-2012 06:37, Axel Lin escreveu:
>> 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>
>> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
>
> 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.
OK you take care of it!
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-21 13:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 9:37 [PATCH] gpio: bt8xx: Fix build error due to missing include file Axel Lin
2012-08-21 11:23 ` Mauro Carvalho Chehab
2012-08-21 13:02 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox