Skip to contentSkip to conversation

fbdev: simplefb: Platform data shan't include kernel.h

PATCH In review Andy Shevchenko 3 participants 5 messages Feb 4, 2020 – Mar 2, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbdev: simplefb: Platform data shan't include kernel.h

Replace with appropriate types.h.

---
 include/linux/platform_data/simplefb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/simplefb.h +1 -1
index 4f733a411d18..ca8337695c2a 100644
@@ -10,7 +10,7 @@
 
 #include <drm/drm_fourcc.h>
 #include <linux/fb.h>
-#include <linux/kernel.h>
+#include <linux/types.h>
 
 /* format array, use it to initialize a "struct simplefb_format" array */
 #define SIMPLEFB_FORMATS \
Signature · 1 line
2.24.1
#1 lore raw
Quoted 1 line · Andy Shevchenko

Replace with appropriate types.h.

Hans, any comment on this?

Quoted 21 lines
---
 include/linux/platform_data/simplefb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/simplefb.h +1 -1
index 4f733a411d18..ca8337695c2a 100644
@@ -10,7 +10,7 @@
 
 #include <drm/drm_fourcc.h>
 #include <linux/fb.h>
-#include <linux/kernel.h>
+#include <linux/types.h>
 
 /* format array, use it to initialize a "struct simplefb_format" array */
 #define SIMPLEFB_FORMATS \
Signature · 1 line
2.24.1
Signature · 2 lines
With Best Regards,
Andy Shevchenko
Acked-by on v1 1/1
#2 lore raw
In reply to Andy Shevchenko

Hi,

Quoted 4 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko

Replace with appropriate types.h.

Hans, any comment on this?

Not really, I've not touched that code in a while.

But I see I'm still listed as the maintainer, the change looks sensible to me, so:

Regards,

Hans

Quoted 22 lines
Quoted 21 lines
---
  include/linux/platform_data/simplefb.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/simplefb.h +1 -1
index 4f733a411d18..ca8337695c2a 100644
@@ -10,7 +10,7 @@
 
  #include <drm/drm_fourcc.h>
  #include <linux/fb.h>
-#include <linux/kernel.h>
+#include <linux/types.h>
 
  /* format array, use it to initialize a "struct simplefb_format" array */
  #define SIMPLEFB_FORMATS \
Signature · 1 line
2.24.1
#3 lore raw
In reply to Andy Shevchenko
Quoted 4 lines · Hans de Goede
Quoted 3 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko

Replace with appropriate types.h.

Quoted 8 lines
Quoted 1 line

Hans, any comment on this?

Not really, I've not touched that code in a while.

But I see I'm still listed as the maintainer, the change looks sensible to me, so:

Thanks!
Seems get_maintainer does not list Bart, so, Cc him here.

Quoted 22 lines
Quoted 21 lines
Quoted 20 lines
---
  include/linux/platform_data/simplefb.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/simplefb.h +1 -1
index 4f733a411d18..ca8337695c2a 100644
@@ -10,7 +10,7 @@
  #include <drm/drm_fourcc.h>
  #include <linux/fb.h>
-#include <linux/kernel.h>
+#include <linux/types.h>
  /* format array, use it to initialize a "struct simplefb_format" array */
  #define SIMPLEFB_FORMATS \
Signature · 1 line
2.24.1
Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw
In reply to Andy Shevchenko
Quoted 9 lines · Andy Shevchenko
Quoted 8 lines · Hans de Goede
Quoted 4 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko

Replace with appropriate types.h.

Hans, any comment on this?

Not really, I've not touched that code in a while.

Quoted 10 lines
Quoted 4 lines

But I see I'm still listed as the maintainer, the change looks sensible to me, so:

Thanks!
Seems get_maintainer does not list Bart, so, Cc him here.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Patch queued for v5.7, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
---
  include/linux/platform_data/simplefb.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/simplefb.h +1 -1
index 4f733a411d18..ca8337695c2a 100644
@@ -10,7 +10,7 @@
  #include <drm/drm_fourcc.h>
  #include <linux/fb.h>
-#include <linux/kernel.h>
+#include <linux/types.h>
  /* format array, use it to initialize a "struct simplefb_format" array */
  #define SIMPLEFB_FORMATS \
Signature · 1 line
2.24.1