[U-Boot] [PATCH 2/2] video: Drop DEV_EXT_VIDEO flag

Bin Meng bmeng.cn at gmail.com
Wed Nov 4 08:23:38 CET 2015


DEV_EXT_VIDEO does not have any actual meaning, hence drop it.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

---

 arch/powerpc/cpu/mpc8xx/video.c | 1 -
 board/bf527-ezkit/video.c       | 1 -
 board/bf533-stamp/video.c       | 1 -
 board/bf548-ezkit/video.c       | 1 -
 board/cm-bf548/video.c          | 1 -
 drivers/video/cfb_console.c     | 1 -
 include/stdio_dev.h             | 1 -
 7 files changed, 7 deletions(-)

diff --git a/arch/powerpc/cpu/mpc8xx/video.c b/arch/powerpc/cpu/mpc8xx/video.c
index 659e688..15cee3f 100644
--- a/arch/powerpc/cpu/mpc8xx/video.c
+++ b/arch/powerpc/cpu/mpc8xx/video.c
@@ -1089,7 +1089,6 @@ int drv_video_init (void)
 	memset (&videodev, 0, sizeof (videodev));
 
 	strcpy (videodev.name, "video");
-	videodev.ext = DEV_EXT_VIDEO;	/* Video extensions */
 	videodev.flags = DEV_FLAGS_OUTPUT;	/* Output only */
 	videodev.putc = video_putc;	/* 'putc' function */
 	videodev.puts = video_puts;	/* 'puts' function */
diff --git a/board/bf527-ezkit/video.c b/board/bf527-ezkit/video.c
index 530b956..a57f9fe 100644
--- a/board/bf527-ezkit/video.c
+++ b/board/bf527-ezkit/video.c
@@ -438,7 +438,6 @@ int drv_video_init(void)
 	memset(&videodev, 0, sizeof(videodev));
 
 	strcpy(videodev.name, "video");
-	videodev.ext = DEV_EXT_VIDEO;	/* Video extensions */
 
 	error = stdio_register(&videodev);
 
diff --git a/board/bf533-stamp/video.c b/board/bf533-stamp/video.c
index a451f97..e9b9a9a 100644
--- a/board/bf533-stamp/video.c
+++ b/board/bf533-stamp/video.c
@@ -164,7 +164,6 @@ int drv_video_init(void)
 
 	memset(&videodev, 0, sizeof(videodev));
 	strcpy(videodev.name, "video");
-	videodev.ext = DEV_EXT_VIDEO;
 
 	return stdio_register(&videodev);
 }
diff --git a/board/bf548-ezkit/video.c b/board/bf548-ezkit/video.c
index 9cc6c74..3765993 100644
--- a/board/bf548-ezkit/video.c
+++ b/board/bf548-ezkit/video.c
@@ -328,7 +328,6 @@ int drv_video_init(void)
 	memset(&videodev, 0, sizeof(videodev));
 
 	strcpy(videodev.name, "video");
-	videodev.ext = DEV_EXT_VIDEO;	/* Video extensions */
 
 	error = stdio_register(&videodev);
 
diff --git a/board/cm-bf548/video.c b/board/cm-bf548/video.c
index 2867260..b8cc873 100644
--- a/board/cm-bf548/video.c
+++ b/board/cm-bf548/video.c
@@ -332,7 +332,6 @@ int drv_video_init(void)
 	memset(&videodev, 0, sizeof(videodev));
 
 	strcpy(videodev.name, "video");
-	videodev.ext = DEV_EXT_VIDEO;	/* Video extensions */
 
 	error = stdio_register(&videodev);
 
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 51cdd4d..556a55f 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -2280,7 +2280,6 @@ int drv_video_init(void)
 	/* Init vga device */
 	memset(&console_dev, 0, sizeof(console_dev));
 	strcpy(console_dev.name, "vga");
-	console_dev.ext = DEV_EXT_VIDEO;	/* Video extensions */
 	console_dev.flags = DEV_FLAGS_OUTPUT;
 	console_dev.putc = video_putc;	/* 'putc' function */
 	console_dev.puts = video_puts;	/* 'puts' function */
diff --git a/include/stdio_dev.h b/include/stdio_dev.h
index d473f16..13f76be 100644
--- a/include/stdio_dev.h
+++ b/include/stdio_dev.h
@@ -16,7 +16,6 @@
 
 #define DEV_FLAGS_INPUT	 0x00000001	/* Device can be used as input	console */
 #define DEV_FLAGS_OUTPUT 0x00000002	/* Device can be used as output console */
-#define DEV_EXT_VIDEO	 0x00000001	/* Video extensions supported		*/
 
 /* Device information */
 struct stdio_dev {
-- 
1.8.2.1



More information about the U-Boot mailing list