]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hpet.c
ACPI: autoload modules - Create __mod_acpi_device_table symbol for all ACPI drivers
[linux-2.6-omap-h63xx.git] / drivers / char / hpet.c
index ba0e74ad74bbbc778eb485ed95ae089b15cab6a1..9a2694e5f8b98311ff435f3ce4733333c5682266 100644 (file)
@@ -1007,9 +1007,15 @@ static int hpet_acpi_remove(struct acpi_device *device, int type)
        return -EINVAL;
 }
 
+static const struct acpi_device_id hpet_device_ids[] = {
+       {"PNP0103", 0},
+       {"", 0},
+};
+MODULE_DEVICE_TABLE(acpi, hpet_device_ids);
+
 static struct acpi_driver hpet_acpi_driver = {
        .name = "hpet",
-       .ids = "PNP0103",
+       .ids = hpet_device_ids,
        .ops = {
                .add = hpet_acpi_add,
                .remove = hpet_acpi_remove,