|
@@ -155,6 +155,7 @@ struct fujitsu_laptop {
|
|
};
|
|
};
|
|
|
|
|
|
static struct fujitsu_laptop *fujitsu_laptop;
|
|
static struct fujitsu_laptop *fujitsu_laptop;
|
|
|
|
+static struct acpi_device *fext;
|
|
|
|
|
|
#ifdef CONFIG_FUJITSU_LAPTOP_DEBUG
|
|
#ifdef CONFIG_FUJITSU_LAPTOP_DEBUG
|
|
static u32 dbg_level = 0x03;
|
|
static u32 dbg_level = 0x03;
|
|
@@ -788,6 +789,9 @@ static int acpi_fujitsu_laptop_add(struct acpi_device *device)
|
|
if (!priv)
|
|
if (!priv)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
|
|
|
|
|
|
+ WARN_ONCE(fext, "More than one FUJ02E3 ACPI device was found. Driver may not work as intended.");
|
|
|
|
+ fext = device;
|
|
|
|
+
|
|
fujitsu_laptop = priv;
|
|
fujitsu_laptop = priv;
|
|
fujitsu_laptop->acpi_handle = device->handle;
|
|
fujitsu_laptop->acpi_handle = device->handle;
|
|
sprintf(acpi_device_name(device), "%s",
|
|
sprintf(acpi_device_name(device), "%s",
|