mirror of https://gitee.com/openkylin/linux.git
ACPI: Also autoload the bay driver, was forgotten...
Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
a340af14b4
commit
17196d6e53
|
@ -46,6 +46,12 @@ MODULE_LICENSE("GPL");
|
||||||
printk(KERN_DEBUG PREFIX "%s: %s\n", prefix, s); }
|
printk(KERN_DEBUG PREFIX "%s: %s\n", prefix, s); }
|
||||||
static void bay_notify(acpi_handle handle, u32 event, void *data);
|
static void bay_notify(acpi_handle handle, u32 event, void *data);
|
||||||
|
|
||||||
|
static const struct acpi_device_id bay_device_ids[] = {
|
||||||
|
{"LNXIOBAY", 0},
|
||||||
|
{"", 0},
|
||||||
|
};
|
||||||
|
MODULE_DEVICE_TABLE(acpi, bay_device_ids);
|
||||||
|
|
||||||
struct bay {
|
struct bay {
|
||||||
acpi_handle handle;
|
acpi_handle handle;
|
||||||
char *name;
|
char *name;
|
||||||
|
|
Loading…
Reference in New Issue