diff options
author | Helge Deller <deller@gmx.de> | 2018-05-18 16:08:10 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-05-18 16:21:48 +0200 |
commit | 3faf5246f0cd2c1fe82a2c4ba5ad857fa6941909 (patch) | |
tree | 63c8df3b09878ecbd124d6ad46742b88cea077dd /arch | |
parent | 3acf4e395260e3bd30a6fa29ba7eada4bf7566ca (diff) |
parisc: Move find_pa_parent_type() out of init section
The 0-DAY kernel test infrastructure reported that inet_put_port() may
reference the find_pa_parent_type() function, so it can't be moved into the
init section.
Fixes: b86db40e1ecc ("parisc: Move various functions and strings to init section")
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/drivers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/drivers.c b/arch/parisc/kernel/drivers.c index ee5a78a151a6..e0e1c9775c32 100644 --- a/arch/parisc/kernel/drivers.c +++ b/arch/parisc/kernel/drivers.c @@ -268,7 +268,7 @@ static struct parisc_device *find_device_by_addr(unsigned long hpa) * Walks up the device tree looking for a device of the specified type. * If it finds it, it returns it. If not, it returns NULL. */ -const struct parisc_device * __init +const struct parisc_device * find_pa_parent_type(const struct parisc_device *padev, int type) { const struct device *dev = &padev->dev; |