[Intel-gfx] [PATCH] drm/i915: Remove bogus __init annotation from DMI callbacks

2014-08-29 Thread Mathias Krause
The __init annotations for the DMI callback functions are wrong as this code can be called even after the module has been initialized, e.g. like this: # echo 1 > /sys/bus/pci/devices/:00:02.0/remove # modprobe i915 # echo 1 > /sys/bus/pci/rescan The first command will remove the PCI dev

Re: [Intel-gfx] [PATCH] drm/i915: Remove bogus __init annotation from DMI callbacks

2014-08-28 Thread Jani Nikula
On Wed, 27 Aug 2014, Mathias Krause wrote: > The __init annotations for the DMI callback functions are wrong as this > code can be called even after the module has been initialized, e.g. like > this: > > # echo 1 > /sys/bus/pci/devices/:00:02.0/remove > # modprobe i915 > # echo 1 > /sys/