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

« back to all changes in this revision

Viewing changes to arch/arm/mach-mxs/devices/platform-mxs-i2c.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:
22
22
        [_id] = mxs_i2c_data_entry_single(soc, _id)
23
23
 
24
24
#ifdef CONFIG_SOC_IMX28
25
 
const struct mxs_i2c_data mx28_mxs_i2c_data[] __initconst = {
 
25
const struct mxs_mxs_i2c_data mx28_mxs_i2c_data[] __initconst = {
26
26
        mxs_i2c_data_entry(MX28, 0),
27
27
        mxs_i2c_data_entry(MX28, 1),
28
28
};
29
29
#endif
30
30
 
31
 
struct platform_device *__init mxs_add_mxs_i2c(const struct mxs_i2c_data *data)
 
31
struct platform_device *__init mxs_add_mxs_i2c(
 
32
                const struct mxs_mxs_i2c_data *data)
32
33
{
33
34
        struct resource res[] = {
34
35
                {