video: bf54x-lq043fb: fix build error
PATCH 1/1 video: bf54x-lq043fb: fix build error
From: Steven Miao <[email protected]>
should include linux/gpio.h
--- drivers/video/bf54x-lq043fb.c | 1 + 1 file changed, 1 insertion(+)
drivers/video/bf54x-lq043fb.c +1 -0
@@ -49,6 +49,7 @@#include <linux/spinlock.h> #include <linux/dma-mapping.h> #include <linux/platform_device.h> +#include <linux/gpio.h> #include <asm/blackfin.h> #include <asm/irq.h>
Signature · 1 line
1.7.9.5
Quoted 14 lines · Steven Miao
From: Steven Miao <[email protected]>
should include
linux/gpio.hSigned-off-by Steven Miao <[email protected]>--- drivers/video/bf54x-lq043fb.c | 1 + 1 file changed, 1 insertion(+)drivers/video/bf54x-lq043fb.c +0
-0
drivers/video/bf54x-lq043fb.c line 52
Quoted 4 lines
drivers/video/bf54x-lq043fb.c +1
-0@@ -49,6 +49,7 @@#include <linux/spinlock.h> #include <linux/dma-mapping.h> #include <linux/platform_device.h> +#include <linux/gpio.h>
The driver includes <asm/gpio.h>. I think that should be removed, and <linux/gpio.h> should be used.
Can you also remove the asm/gpio.h in your patch, and see if it compiles fine?
Tomi
Hi Tomi,
Quoted 10 lines · Tomi Valkeinen
Quoted 9 lines · Steven Miao
From: Steven Miao <[email protected]>
should include
linux/gpio.hSigned-off-by Steven Miao <[email protected]>--- drivers/video/bf54x-lq043fb.c | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
drivers/video/bf54x-lq043fb.c line 52
Quoted 9 lines
drivers/video/bf54x-lq043fb.c +1
-0@@ -49,6 +49,7 @@#include <linux/spinlock.h> #include <linux/dma-mapping.h> #include <linux/platform_device.h> +#include <linux/gpio.h> The driver includes <
asm/gpio.h>. I think that should be removed, and <linux/gpio.h> should be used.
Yes, it should be removed.
Quoted 3 lines
Can you also remove the
asm/gpio.hin your patch, and see if it compiles fine?
I have tested it, it's fine. I'll resend the patch.
Quoted 4 lines
Tomi
-steven