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

« back to all changes in this revision

Viewing changes to drivers/video/nvidia/nv_backlight.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:
111
111
        snprintf(name, sizeof(name), "nvidiabl%d", info->node);
112
112
 
113
113
        memset(&props, 0, sizeof(struct backlight_properties));
 
114
        props.type = BACKLIGHT_RAW;
114
115
        props.max_brightness = FB_BACKLIGHT_LEVELS - 1;
115
116
        bd = backlight_device_register(name, info->dev, par, &nvidia_bl_ops,
116
117
                                       &props);