Staging: unisys: virthba: add MODULE_DEVICE_TABLE
authorKen Cox <jkc@redhat.com>
Thu, 24 Apr 2014 18:57:11 +0000 (13:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:32:17 +0000 (15:32 -0700)
Add x86_cpu_id struct and call to MODULE_DEVICE_TABLE so this module
will be auto loaded on boot.

Signed-off-by: Ken Cox <jkc@redhat.com>
Tested-by: Ken Cox <jkc@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virthba/virthba.c

index 2755b4e9e769603f06aa03c49114a03e73ece5eb..a13e79e287f40025c08e79dd0b5d1058a695a608 100644 (file)
@@ -82,6 +82,14 @@ static int virthba_ioctl(struct scsi_device *dev, int cmd, void __user *arg);
 static int virthba_queue_command_lck(struct scsi_cmnd *scsicmd,
                                     void (*virthba_cmnd_done)(struct scsi_cmnd *));
 
+static const struct x86_cpu_id unisys_spar_ids[] = {
+       { X86_VENDOR_INTEL, 6, 62, X86_FEATURE_ANY },
+       {}
+};
+
+/* Autoload */
+MODULE_DEVICE_TABLE(x86cpu, unisys_spar_ids);
+
 #ifdef DEF_SCSI_QCMD
 DEF_SCSI_QCMD(virthba_queue_command)
 #else
This page took 0.026061 seconds and 5 git commands to generate.