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

« back to all changes in this revision

Viewing changes to drivers/mfd/ab3100-core.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:
949
949
                goto exit_no_ops;
950
950
 
951
951
        /* Set up and register the platform devices. */
952
 
        for (i = 0; i < ARRAY_SIZE(ab3100_devs); i++)
953
 
                ab3100_devs[i].mfd_data = ab3100_plf_data;
 
952
        for (i = 0; i < ARRAY_SIZE(ab3100_devs); i++) {
 
953
                ab3100_devs[i].platform_data = ab3100_plf_data;
 
954
                ab3100_devs[i].pdata_size = sizeof(struct ab3100_platform_data);
 
955
        }
954
956
 
955
957
        err = mfd_add_devices(&client->dev, 0, ab3100_devs,
956
958
                ARRAY_SIZE(ab3100_devs), NULL, 0);