Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 005568be authored by Tobias Klauser's avatar Tobias Klauser Committed by Dave Airlie
Browse files

drm/i915: 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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 402a917a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -193,7 +193,7 @@ static bool intel_sdvo_write_byte(struct intel_output *intel_output, int addr,


#define SDVO_CMD_NAME_ENTRY(cmd) {cmd, #cmd}
#define SDVO_CMD_NAME_ENTRY(cmd) {cmd, #cmd}
/** Mapping of command numbers to names, for debug output */
/** Mapping of command numbers to names, for debug output */
const static struct _sdvo_cmd_name {
static const struct _sdvo_cmd_name {
	u8 cmd;
	u8 cmd;
	char *name;
	char *name;
} sdvo_cmd_names[] = {
} sdvo_cmd_names[] = {
+1 −1
Original line number Original line Diff line number Diff line
@@ -411,7 +411,7 @@ struct tv_mode {
 * These values account for -1s required.
 * These values account for -1s required.
 */
 */


const static struct tv_mode tv_modes[] = {
static const struct tv_mode tv_modes[] = {
	{
	{
		.name		= "NTSC-M",
		.name		= "NTSC-M",
		.clock		= 107520,
		.clock		= 107520,