lkml.org 
[lkml]   [2007]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] make drivers/video/display/display-sysfs.c:display_class static
    On Fri, Mar 02, 2007 at 03:00:26AM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.20-mm2:
    >...
    > +fbdev-display-class.patch
    > +fbdev-display-class-update.patch
    >...
    > fbdev updates
    >...

    This patch makes the needlessly global struct display_class static.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---
    --- linux-2.6.21-rc2-mm1/drivers/video/display/display-sysfs.c.old 2007-03-04 21:49:31.000000000 +0100
    +++ linux-2.6.21-rc2-mm1/drivers/video/display/display-sysfs.c 2007-03-04 21:49:38.000000000 +0100
    @@ -127,7 +127,7 @@

    static struct mutex allocated_dsp_lock;
    static DEFINE_IDR(allocated_dsp);
    -struct class *display_class;
    +static struct class *display_class;

    struct display_device *display_device_register(struct display_driver *driver,
    struct device *parent, void *devdata)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-05 02:57    [W:4.041 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site