2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 18:53:52 +08:00

tile: mark pcibios_init() as __init

It was bombed away because it was previously marked as __devinit,
but it should be an __init function.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
This commit is contained in:
Chris Metcalf 2013-08-13 15:17:38 -04:00
parent 9a55fed473
commit 7b770a6a0a
2 changed files with 2 additions and 2 deletions

View File

@ -386,7 +386,7 @@ void pcibios_set_master(struct pci_dev *dev)
}
/* Process any "pci=" kernel boot arguments. */
char * __init pcibios_setup(char *str)
char *__init pcibios_setup(char *str)
{
if (!strcmp(str, "off")) {
pci_probe = 0;

View File

@ -1060,7 +1060,7 @@ void pcibios_fixup_bus(struct pci_bus *bus)
}
/* Process any "pci=" kernel boot arguments. */
char *pcibios_setup(char *str)
char *__init pcibios_setup(char *str)
{
if (!strcmp(str, "off")) {
pci_probe = 0;