Skip to content

Commit

Permalink
EDAC: add __init to i7core_xeon_pci_fixup
Browse files Browse the repository at this point in the history
It's called only from an __init function and is the only user
of pcibios_scan_specific_bus which will be marked as __devinit in
the next patch.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jiri Slaby authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 508fa17 commit 71753e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ static void i7core_put_all_devices(void)
i7core_put_devices(i7core_dev);
}

static void i7core_xeon_pci_fixup(int dev_id)
static void __init i7core_xeon_pci_fixup(int dev_id)
{
struct pci_dev *pdev = NULL;
int i;
Expand Down

0 comments on commit 71753e0

Please sign in to comment.