[PATCH V2 0/2] Add module autoloading support for vop and cosm driver

From: Sherry Sun
Date: Tue Sep 29 2020 - 04:03:48 EST


Changes in V2:
1. Combine patch1 and patch2 in V1 together, as patch1 is a part of autoloading
support for vop driver in patch2.

Add module autoloading support for vop and cosm driver, when the vop/cosm device
appears, the driver will be autoloaded.

Sherry Sun (2):
mic: vop: module autoprobing support for vop drivers
mic: cosm: module autoprobing support for cosm driver

drivers/misc/mic/bus/cosm_bus.c | 8 ++++++++
drivers/misc/mic/bus/vop_bus.h | 7 +------
drivers/misc/mic/cosm/cosm_main.c | 7 +++++++
drivers/misc/mic/vop/vop_main.c | 2 +-
include/linux/mod_devicetable.h | 15 +++++++++++++++
scripts/mod/devicetable-offsets.c | 7 +++++++
scripts/mod/file2alias.c | 27 +++++++++++++++++++++++++++
7 files changed, 66 insertions(+), 7 deletions(-)

--
2.17.1