提交 ce8dd71a 编写于 作者: M Myron Stowe 提交者: Bjorn Helgaas

sh/PCI: adjust section annotations for pcibios_setup()

Make pcibios_setup() consistently use the "__init" section annotation.
Signed-off-by: NMyron Stowe <myron.stowe@redhat.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 86927f93
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
* Misconfigurations can be detected through the FPGA via the slot * Misconfigurations can be detected through the FPGA via the slot
* resistors to determine card presence. Hotplug remains unsupported. * resistors to determine card presence. Hotplug remains unsupported.
*/ */
static unsigned int slot4en __devinitdata; static unsigned int slot4en __initdata;
char *__devinit pcibios_setup(char *str) char *__init pcibios_setup(char *str)
{ {
if (strcmp(str, "slot4en") == 0) { if (strcmp(str, "slot4en") == 0) {
slot4en = 1; slot4en = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册