static int __init superhyway_init(void) { struct superhyway_bus *bus; int ret = 0; device_register(&superhyway_bus_device); for (bus = superhyway_channels; bus->ops; bus++) ret |= superhyway_scan_bus(bus); return ret; }
static int __init superhyway_init(void) { device_register(&superhyway_bus_device); return superhyway_scan_bus(); }