Quellcode durchsuchen

OMAP: DSS2: storage class should be before const qualifier

The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Tobias Klauser vor 15 Jahren
Ursprung
Commit
5a1819e3a8
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      arch/arm/plat-omap/include/plat/display.h

+ 2 - 2
arch/arm/plat-omap/include/plat/display.h

@@ -277,8 +277,8 @@ struct omap_video_timings {
  * identify the mode, and does not actually use the configs
  * identify the mode, and does not actually use the configs
  * itself. However, the configs should be something that
  * itself. However, the configs should be something that
  * a normal monitor can also show */
  * a normal monitor can also show */
-const extern struct omap_video_timings omap_dss_pal_timings;
-const extern struct omap_video_timings omap_dss_ntsc_timings;
+extern const struct omap_video_timings omap_dss_pal_timings;
+extern const struct omap_video_timings omap_dss_ntsc_timings;
 #endif
 #endif
 
 
 struct omap_overlay_info {
 struct omap_overlay_info {