diff --git a/master/module.c b/master/module.c index 3f0e6e1e..98ffbd76 100644 --- a/master/module.c +++ b/master/module.c @@ -55,7 +55,6 @@ void __exit ec_cleanup_module(void); /*****************************************************************************/ static int ec_master_count = 1; /**< parameter value, number of masters */ -static int ec_eoeif_count = 0; /**< parameter value, number of EoE interf. */ static struct list_head ec_masters; /**< list of masters */ static dev_t device_number; /**< XML character device number */ ec_xmldev_t xmldev; /**< XML character device */ @@ -67,14 +66,12 @@ char *ec_master_version_str = EC_MASTER_VERSION; /** \cond */ module_param(ec_master_count, int, S_IRUGO); -module_param(ec_eoeif_count, int, S_IRUGO); MODULE_AUTHOR("Florian Pose "); MODULE_DESCRIPTION("EtherCAT master driver module"); MODULE_LICENSE("GPL"); MODULE_VERSION(EC_MASTER_VERSION); MODULE_PARM_DESC(ec_master_count, "number of EtherCAT masters to initialize"); -MODULE_PARM_DESC(ec_eoeif_count, "number of EoE interfaces per master"); /** \endcond */ @@ -114,7 +111,7 @@ int __init ec_init_module(void) goto out_free; } - if (ec_master_init(master, i, ec_eoeif_count)) + if (ec_master_init(master, i, 0)) goto out_free; list_add_tail(&master->list, &ec_masters);