On Wed, 23 Dec 2009 14:14:34 +0100, Tobias Klauser <tklau...@distanz.ch> 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 <tklau...@distanz.ch> > --- > drivers/gpu/drm/i915/intel_display.c | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_display.c > b/drivers/gpu/drm/i915/intel_display.c > index 52cd9b0..2256ac7 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -2448,7 +2448,7 @@ static void pineview_enable_cxsr(struct drm_device > *dev, unsigned long clock, > * A value of 5us seems to be a good balance; safe for very low end > * platforms but not overly aggressive on lower latency configs. > */ > -const static int latency_ns = 5000; > +static const int latency_ns = 5000; > > static int i9xx_get_fifo_size(struct drm_device *dev, int plane) > { > @@ -2559,7 +2559,7 @@ static void g4x_update_wm(struct drm_device *dev, int > planea_clock, > /* Calc sr entries for one plane configs */ > if (sr_hdisplay && (!planea_clock || !planeb_clock)) { > /* self-refresh has much higher latency */ > - const static int sr_latency_ns = 12000; > + static const int sr_latency_ns = 12000; > > sr_clock = planea_clock ? planea_clock : planeb_clock; > line_time_us = ((sr_hdisplay * 1000) / sr_clock); > @@ -2598,7 +2598,7 @@ static void i965_update_wm(struct drm_device *dev, int > planea_clock, > /* Calc sr entries for one plane configs */ > if (sr_hdisplay && (!planea_clock || !planeb_clock)) { > /* self-refresh has much higher latency */ > - const static int sr_latency_ns = 12000; > + static const int sr_latency_ns = 12000; > > sr_clock = planea_clock ? planea_clock : planeb_clock; > line_time_us = ((sr_hdisplay * 1000) / sr_clock); > @@ -2667,7 +2667,7 @@ static void i9xx_update_wm(struct drm_device *dev, int > planea_clock, > if (HAS_FW_BLC(dev) && sr_hdisplay && > (!planea_clock || !planeb_clock)) { > /* self-refresh has much higher latency */ > - const static int sr_latency_ns = 6000; > + static const int sr_latency_ns = 6000; > > sr_clock = planea_clock ? planea_clock : planeb_clock; > line_time_us = ((sr_hdisplay * 1000) / sr_clock);
Applied. Thanks!
pgpm7zOGwV7EE.pgp
Description: PGP signature
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
-- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel