Name
create_of_modalias —
Creates DT compatible string for modalias and uevent
Synopsis
int create_of_modalias ( | struct acpi_device * acpi_dev, |
| char * modalias, |
| int size) ; |
Arguments
acpi_dev
ACPI device object.
modalias
Buffer to print into.
size
Size of the buffer.
Expose DT compatible modalias as of
NnameTCcompatible. This function should
only be called for devices having ACPI_DT_NAMESPACE_HID in their list of
ACPI/PNP IDs.