Skip to content

Commit

Permalink
sh/PCI: adjust section annotations for pcibios_setup()
Browse files Browse the repository at this point in the history
Make pcibios_setup() consistently use the "__init" section annotation.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Myron Stowe authored and Bjorn Helgaas committed Jul 5, 2012
1 parent 86927f9 commit ce8dd71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sh/drivers/pci/fixups-sdk7786.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* Misconfigurations can be detected through the FPGA via the slot
* 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) {
slot4en = 1;
Expand Down

0 comments on commit ce8dd71

Please sign in to comment.