Skip to content

Commit

Permalink
parisc: Move find_pa_parent_type() out of init section
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
hdeller committed May 18, 2018
1 parent 3acf4e3 commit 3faf524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/kernel/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3faf524

Please sign in to comment.