[PATCH] Fujitsu-laptop: autoload based on PnP device

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

 



This patch adds module autoloading based on PnP devices in Fujitsu
laptops following Matthew Garrett's suggestion.  It is against a 2.6.25 tree
which has already had my previous fujitsu laptop update patch applied.

This patch includes the patch submitted earlier by Dan Williams which adds
the FUJ02bf PnP device to the autoload list.

Signed-off-by: Jonathan Woithe <jwoithe@xxxxxxxxxxxxxxxxxxxxxxx>

--- linux-2.6.25-old/drivers/misc/fujitsu-laptop.c	2008-05-29 10:14:30.000000000 +0930
+++ linux-2.6.25/drivers/misc/fujitsu-laptop.c	2008-05-29 10:22:07.000000000 +0930
@@ -65,7 +65,7 @@
 #include <linux/video_output.h>
 #include <linux/platform_device.h>
 
-#define FUJITSU_DRIVER_VERSION "0.4.0"
+#define FUJITSU_DRIVER_VERSION "0.4.1"
 
 #define FUJITSU_LCD_N_LEVELS 8
 
@@ -1074,3 +1074,10 @@
     ("dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1D3:*:cvrS6410:*");
 MODULE_ALIAS
     ("dmi:*:svnFUJITSU:*:pvr:rvnFUJITSU:rnFJNB19C:*:cvrS7020:*");
+
+static struct pnp_device_id pnp_ids[] = {
+	{ .id = "FUJ02bf" },
+	{ .id = "FUJ02B1" },
+	{ .id = "FUJ02E3" },
+};
+MODULE_DEVICE_TABLE(pnp, pnp_ids);
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux