drm/ssd130x: Fix include guard name
Subsystems (3)
Javier Martinez Canillas
maintainerPATCH 1/1 drm/ssd130x: Fix include guard name
This is a leftover from an early iteration of the driver when it was still named ssd1307 instead of ssd130x. Change it for consistency with the rest.
Signed-off-by Javier Martinez Canillas <[email protected]>
---
drivers/gpu/drm/solomon/ssd130x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/solomon/ssd130x.h +3 -3
@@ -10,8 +10,8 @@* Copyright 2012 Free Electrons */ -#ifndef __SSD1307X_H__ -#define __SSD1307X_H__ +#ifndef __SSD130X_H__ +#define __SSD130X_H__#include <drm/drm_connector.h> #include <drm/drm_crtc.h>
@@ -94,4 +94,4 @@ struct ssd130x_device *ssd130x_probe(struct device *dev, struct regmap *regmap);void ssd130x_remove (struct ssd130x_device *ssd130x);void ssd130x_shutdown (struct ssd130x_device *ssd130x); -#endif /* __SSD1307X_H__ */ +#endif /* __SSD130X_H__ */
Signature · 1 line
2.40.1
Quoted 4 lines · Javier Martinez Canillas
This is a leftover from an early iteration of the driver when it was still named ssd1307 instead of ssd130x. Change it for consistency with the rest.
Signed-off-by Javier Martinez Canillas <[email protected]>
Reviewed-by Sam Ravnborg <[email protected]>
Quoted 28 lines
---
drivers/gpu/drm/solomon/ssd130x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/solomon/ssd130x.h +3
-3@@ -10,8 +10,8 @@* Copyright 2012 Free Electrons */ -#ifndef __SSD1307X_H__ -#define __SSD1307X_H__ +#ifndef __SSD130X_H__ +#define __SSD130X_H__#include <drm/drm_connector.h> #include <drm/drm_crtc.h> @@ -94,4 +94,4 @@ struct ssd130x_device *ssd130x_probe(struct device *dev, struct regmap *regmap);void ssd130x_remove (struct ssd130x_device *ssd130x);void ssd130x_shutdown (struct ssd130x_device *ssd130x); -#endif /* __SSD1307X_H__ */ +#endif /* __SSD130X_H__ */ Signature · 1 line
2.40.1
Reviewed-by Sui Jingfeng <[email protected]>
Quoted 31 lines · Javier Martinez Canillas
This is a leftover from an early iteration of the driver when it was still named ssd1307 instead of ssd130x. Change it for consistency with the rest.
Signed-off-by Javier Martinez Canillas <[email protected]>Reviewed-by Sam Ravnborg <[email protected]>---
drivers/gpu/drm/solomon/ssd130x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/solomon/ssd130x.h +3
-3@@ -10,8 +10,8 @@* Copyright 2012 Free Electrons */ -#ifndef __SSD1307X_H__ -#define __SSD1307X_H__ +#ifndef __SSD130X_H__ +#define __SSD130X_H__#include <drm/drm_connector.h> #include <drm/drm_crtc.h> @@ -94,4 +94,4 @@ struct ssd130x_device *ssd130x_probe(struct device *dev, struct regmap *regmap);void ssd130x_remove (struct ssd130x_device *ssd130x);void ssd130x_shutdown (struct ssd130x_device *ssd130x); -#endif /* __SSD1307X_H__ */ +#endif /* __SSD130X_H__ */
Quoted 3 lines · Sui Jingfeng
Reviewed-by Sui Jingfeng <[email protected]>
Pushed to drm-misc (drm-misc-next). Thanks!
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat