Re: [PATCH v7 3/6] platform/x86: dell-smo8800: Move SMO88xx acpi_device_ids to dell-smo8800-ids.h

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

 



On Mon, Aug 5, 2024 at 3:38 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
>
> Move the SMO88xx acpi_device_ids to a new dell-smo8800-ids.h header,
> so that these can be shared with the new dell-lis3lv02d code.

...

> +#ifndef _DELL_SMO8800_IDS_H_
> +#define _DELL_SMO8800_IDS_H_
> +
> +#include <linux/mod_devicetable.h>
> +
> +static const struct acpi_device_id smo8800_ids[] = {
> +       { "SMO8800" },
> +       { "SMO8801" },
> +       { "SMO8810" },
> +       { "SMO8811" },
> +       { "SMO8820" },
> +       { "SMO8821" },
> +       { "SMO8830" },
> +       { "SMO8831" },
> +       { }
> +};
> +MODULE_DEVICE_TABLE(acpi, smo8800_ids);

The macro definition is in module.h.

> +#endif


-- 
With Best Regards,
Andy Shevchenko





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

  Powered by Linux