Re: [PATCH v7 3/6] input: misc: Add driver for AXP20x Power Enable Key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 30, 2014 at 11:47 AM, Mark Rutland <mark.rutland@xxxxxxx> wrote:
>> +static struct platform_driver axp20x_pek_driver = {
>> +       .probe          = axp20x_pek_probe,
>> +       .remove         = axp20x_pek_remove,
>> +       .driver         = {
>> +               .name           = "axp20x-pek",
>> +               .owner          = THIS_MODULE,
>> +       },
>> +};
>> +module_platform_driver(axp20x_pek_driver);
>
> So this requires platform data rather than a DTB? Or have I missed
> something?

It is not loaded by DTB but by the MFD core driver (axp20x). So I
assume this is still a platform device.

Regards,

-- 
Carlo Caione
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux