... yet your patch adds an EXPORT_SYMBOL() just to make this specific function possible. Weird.
I find it hard to believe that there would be no code in the kernel to
read or write config space of a device you have..... :)
In fact I bet 80% of the drivers in the tree use it.
--