#define MYDRVNAME "visorbus"
/* module parameters */
-static int visorbus_forcematch;
static int visorbus_forcenomatch;
/* Display string that is guaranteed to be no longer the 99 characters*/
drv = to_visor_driver(xdrv);
channel_type = visorchannel_get_uuid(dev->visorchannel);
- if (visorbus_forcematch)
- return 1;
if (visorbus_forcenomatch)
return 0;
if (!drv->channel_types)
debugfs_remove_recursive(visorbus_debugfs_dir);
}
-module_param_named(forcematch, visorbus_forcematch, int, 0444);
-MODULE_PARM_DESC(visorbus_forcematch,
- "1 to force a successful dev <--> drv match");
-
module_param_named(forcenomatch, visorbus_forcenomatch, int, 0444);
MODULE_PARM_DESC(visorbus_forcenomatch,
"1 to force an UNsuccessful dev <--> drv match");