Re: [PATCH v2 04/14] platform/x86: x86-android-tablets: Move DMI match table into its own dmi.c file

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

 



Hi,

On 3/1/23 11:21, Andy Shevchenko wrote:
> On Wed, Mar 1, 2023 at 11:23 AM Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
>>
>> In order to have a single MODULE_DEVICE_TABLE(dmi, ...), while allowing
>> splitting the board descriptions into multiple files, add a new separate
>> file for the DMI match table.
> 
> ...
> 
>> +#include <linux/dmi.h>
>> +#include <linux/mod_devicetable.h>
> 
> + init.h for __initconst
> 
> + module.h for MODULE_DEVICE_TABLE()

Ack I'll amend this before merging this series.

Weird that MODULE_DEVICE_TABLE() is inside module.h though
and not actually in mod_devicetable.h as the name of both
would suggest.

Regards,

Hans








[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux