Skip to content

Commit 3faf524

Browse files
committed
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: b86db40 ("parisc: Move various functions and strings to init section") Signed-off-by: Helge Deller <[email protected]>
1 parent 3acf4e3 commit 3faf524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/drivers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ static struct parisc_device *find_device_by_addr(unsigned long hpa)
268268
* Walks up the device tree looking for a device of the specified type.
269269
* If it finds it, it returns it. If not, it returns NULL.
270270
*/
271-
const struct parisc_device * __init
271+
const struct parisc_device *
272272
find_pa_parent_type(const struct parisc_device *padev, int type)
273273
{
274274
const struct device *dev = &padev->dev;

0 commit comments

Comments
 (0)