On Mon, 9 Feb 2009, Tobias Klauser wrote:

> 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 <[email protected]>
> ---
>  drivers/gpu/drm/i915/intel_sdvo.c |    2 +-
>  drivers/gpu/drm/i915/intel_tv.c   |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_sdvo.c 
> b/drivers/gpu/drm/i915/intel_sdvo.c
> index 4072154..249e0a3 100644
> --- a/drivers/gpu/drm/i915/intel_sdvo.c
> +++ b/drivers/gpu/drm/i915/intel_sdvo.c
> @@ -147,7 +147,7 @@ static bool intel_sdvo_write_byte(struct intel_output 
> *intel_output, int addr,
>  
>  #define SDVO_CMD_NAME_ENTRY(cmd) {cmd, #cmd}
>  /** Mapping of command numbers to names, for debug output */
> -const static struct _sdvo_cmd_name {
> +static const struct _sdvo_cmd_name {
>      u8 cmd;
>      char *name;
>  } sdvo_cmd_names[] = {
> diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
> index fbb35dc..56485d6 100644
> --- a/drivers/gpu/drm/i915/intel_tv.c
> +++ b/drivers/gpu/drm/i915/intel_tv.c
> @@ -411,7 +411,7 @@ struct tv_mode {
>   * These values account for -1s required.
>   */
>  
> -const static struct tv_mode tv_modes[] = {
> +static const struct tv_mode tv_modes[] = {
>       {
>               .name           = "NTSC-M",
>               .clock          = 107520,

This doesn't seem to be picked by anyone for current -next/-mmotm, I have
applied it to trivial tree. Thanks,

-- 
Jiri Kosina
SUSE Labs

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to