~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/video/backlight/jornada720_bl.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        struct backlight_device *bd;
107
107
 
108
108
        memset(&props, 0, sizeof(struct backlight_properties));
 
109
        props.type = BACKLIGHT_RAW;
109
110
        props.max_brightness = BL_MAX_BRIGHT;
110
111
        bd = backlight_device_register(S1D_DEVICENAME, &pdev->dev, NULL,
111
112
                                       &jornada_bl_ops, &props);
146
147
        },
147
148
};
148
149
 
149
 
int __init jornada_bl_init(void)
 
150
static int __init jornada_bl_init(void)
150
151
{
151
152
        return platform_driver_register(&jornada_bl_driver);
152
153
}
153
154
 
154
 
void __exit jornada_bl_exit(void)
 
155
static void __exit jornada_bl_exit(void)
155
156
{
156
157
        platform_driver_unregister(&jornada_bl_driver);
157
158
}