mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-18 06:15:12 +00:00
Staging: hv: enable mouse driver to build
But we disable it from automatically loading as that would be bad. This way people can build it easier and start cleaning it up, as it needs it. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
9cceab99d7
commit
76e63665c3
@ -38,7 +38,7 @@ config HYPERV_UTILS
|
|||||||
|
|
||||||
config HYPERV_MOUSE
|
config HYPERV_MOUSE
|
||||||
tristate "Microsoft Hyper-V mouse driver"
|
tristate "Microsoft Hyper-V mouse driver"
|
||||||
depends on HID && BROKEN
|
depends on HID
|
||||||
default HYPERV
|
default HYPERV
|
||||||
help
|
help
|
||||||
Select this option to enable the Hyper-V mouse driver.
|
Select this option to enable the Hyper-V mouse driver.
|
||||||
|
@ -316,6 +316,13 @@ static void __exit mousevsc_exit(void)
|
|||||||
mousevsc_drv_exit();
|
mousevsc_drv_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* We don't want to automatically load this driver just yet, it's quite
|
||||||
|
* broken. It's safe if you want to load it yourself manually, but
|
||||||
|
* don't inflict it on unsuspecting users, that's just mean.
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We use a PCI table to determine if we should autoload this driver This is
|
* We use a PCI table to determine if we should autoload this driver This is
|
||||||
* needed by distro tools to determine if the hyperv drivers should be
|
* needed by distro tools to determine if the hyperv drivers should be
|
||||||
@ -327,6 +334,7 @@ const static struct pci_device_id microsoft_hv_pci_table[] = {
|
|||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(pci, microsoft_hv_pci_table);
|
MODULE_DEVICE_TABLE(pci, microsoft_hv_pci_table);
|
||||||
|
#endif
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_VERSION(HV_DRV_VERSION);
|
MODULE_VERSION(HV_DRV_VERSION);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user