summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorKen Cox <jkc@redhat.com>2014-04-24 13:57:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-25 15:32:17 -0700
commit87995171ac35995c4b5f2801d81a5facd8e006d6 (patch)
tree29b0b6088e03830619445867f646b7f67f7052fc /drivers/staging/unisys
parentf6d0c1e62b111bef3be279e4bf1bc2a6d560e205 (diff)
downloadlinux-87995171ac35995c4b5f2801d81a5facd8e006d6.tar.bz2
Staging: unisys: virthba: add MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/virthba/virthba.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/unisys/virthba/virthba.c b/drivers/staging/unisys/virthba/virthba.c
index 2755b4e9e769..a13e79e287f4 100644
--- a/drivers/staging/unisys/virthba/virthba.c
+++ b/drivers/staging/unisys/virthba/virthba.c
@@ -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