Skip to content

Commit

Permalink
[POWERPC] Export of_find_property
Browse files Browse the repository at this point in the history
Without this, building drivers/serial/of_serial.c as a module fails.

WARNING: ".of_find_property" [drivers/serial/of_serial.ko] undefined!

Signed-off-by: Dave Jones <davej@redhat.com>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Dave Jones authored and Paul Mackerras committed Feb 16, 2007
1 parent 32aed2a commit ae50517
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,7 @@ struct property *of_find_property(const struct device_node *np,

return pp;
}
EXPORT_SYMBOL(of_find_property);

/*
* Find a property with a given name for a given node
Expand Down

0 comments on commit ae50517

Please sign in to comment.