From: Adrian Bunk Signed-off-by: Adrian Bunk Cc: James Simmons Cc: "Antonino A. Daplas" Cc: Greg KH Signed-off-by: Andrew Morton --- drivers/video/display/display-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/display/display-sysfs.c~fbdev-display-class-fix drivers/video/display/display-sysfs.c --- a/drivers/video/display/display-sysfs.c~fbdev-display-class-fix +++ a/drivers/video/display/display-sysfs.c @@ -127,7 +127,7 @@ static int display_resume(struct device 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) _