Messages in this thread | | | Date | Mon, 31 Jan 2005 23:04:16 +0100 | From | Jean Delvare <> | Subject | Re: [2.6 patch] i2c-core.c: make some code static |
| |
Hi Adrian,
> > > -struct bus_type i2c_bus_type = { > > > - .name = "i2c", > > > - .match = i2c_device_match, > > > - .suspend = i2c_bus_suspend, > > > - .resume = i2c_bus_resume, > > > -}; > > (...) > > > > Is moving that code around really necessary? Looks to me like only > > the i2c_bus_type structure needs to be moved. > > i2c_bus_type requires i2c_device_match, i2c_bus_suspend and > i2c_bus_resume...
Oops, seems I missed the obvious here :/
Sorry for the noise. I guess I better get some sleep now...
-- Jean Delvare - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |