瀏覽代碼

make drivers/video/display/display-sysfs.c:display_class static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: James Simmons <jsimmons@infradead.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Adrian Bunk 18 年之前
父節點
當前提交
3b769be9c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/video/display/display-sysfs.c

+ 1 - 1
drivers/video/display/display-sysfs.c

@@ -127,7 +127,7 @@ static int display_resume(struct device *dev)
 
 
 static struct mutex allocated_dsp_lock;
 static struct mutex allocated_dsp_lock;
 static DEFINE_IDR(allocated_dsp);
 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 display_device *display_device_register(struct display_driver *driver,
 						struct device *parent, void *devdata)
 						struct device *parent, void *devdata)