Fixed invalid module pointer in device structure.

This commit is contained in:
Florian Pose 2007-02-09 09:52:43 +00:00
parent f2c447a006
commit df9f71f93d
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ int ec_device_init(ec_device_t *device, /**< EtherCAT device */
device->master = master;
device->dev = net_dev;
device->poll = poll;
device->module = module;
device->open = 0;
device->link_state = 0; // down