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>
This commit is contained in:
parent
f6d0c1e62b
commit
87995171ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue