[PATCH v3 8/9] ARM: S5PV210: Adds Touchscreen support for S5PV210

Kyungmin Park kmpark at infradead.org
Tue May 18 08:20:29 EDT 2010


Hi,

>
>  void __init s5pv210_map_io(void)
>  {
> +       s3c_device_ts.name      = "s3c64xx-ts";
> +       s3c_device_adc.name     = "s3c64xx-adc";
> +
>        iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc));

Umm recent patches make a code as puzzle. Some codes use the wrapper
some use the *_setname functions.

        /* initialise device information early */
        s5pv210_default_sdhci0();
        s5pv210_default_sdhci1();
        s5pv210_default_sdhci2();
        s5pv210_default_sdhci3();

        /* the i2c devices are directly compatible with s3c2440 */
        s3c_i2c0_setname("s3c2440-i2c");
        s3c_i2c1_setname("s3c2440-i2c");
        s3c_i2c2_setname("s3c2440-i2c");

and finally assign the 'name' directly.

At some time later. Who know and remember the proper assignments for new SoCs.

Thank you,
Kyungmin Park



More information about the linux-arm-kernel mailing list