drivers: staging: unisys: add MODULE_DEVICE_TABLE and temporary MODULE_ALIAS lines...
authorPrarit Bhargava <prarit@redhat.com>
Mon, 10 Aug 2015 22:34:10 +0000 (18:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:56:54 +0000 (18:56 -0700)
commit110a66be3a26fe05318121412e3c36f7f1e80a12
treec2f09a7df520394afd40e19323fe91a79af2c52a
parentbeb12167080146c8cbaa204daae52b102c066166
drivers: staging: unisys: add MODULE_DEVICE_TABLE and temporary MODULE_ALIAS lines to visornic

This patch adds an module alias and a MODULE_DEVICE_TABLE to autoload the
visornic driver when an appropriate device is created by the visorbus.

Note, the correct way of fixing this is adding functionality to
scripts/mod/file2alias.c for the visorbus bus type.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c