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

« back to all changes in this revision

Viewing changes to drivers/platform/x86/panasonic-laptop.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:
602
602
        }
603
603
        /* initialize backlight */
604
604
        memset(&props, 0, sizeof(struct backlight_properties));
 
605
        props.type = BACKLIGHT_PLATFORM;
605
606
        props.max_brightness = pcc->sinf[SINF_AC_MAX_BRIGHT];
606
607
        pcc->backlight = backlight_device_register("panasonic", NULL, pcc,
607
608
                                                   &pcc_backlight_ops, &props);