But, in thinking about this, there is no real reason that I can see thatthis structure even is in struct device. It should be able to be in theprivate "internal" structure.

The patch below moves it out of struct device entirely. Overall thereis no memory savings, but it could give us the chance to only createthis structure if we really need it later on, as very few things uselinks at this point in time.

Rafael, there is one logic change below, the link structure is notinitialized until device_add() happens, instead of device_initialize().Will that affect anything that you can think of? Does anyone doanything with links before device_add() is called?

I only test-built this patch, I didn't boot anything with it to see howbad it explodes :)