diff options
author | Andres Salomon <dilinger@queued.net> | 2010-10-08 17:18:11 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-09 04:33:34 -0400 |
commit | 8d1255627d4ce9cb4b9d0a1c44b6c18d92e84a99 (patch) | |
tree | 0167da953304dbabc87ab871368bcc3c10660fa8 /arch/sparc/prom/init_32.c | |
parent | 4e13efc99106723960a27e55f560028bced5076d (diff) |
of/sparc: convert various prom_* functions to use phandle
Rather than passing around ints everywhere, use the
phandle type where appropriate for the various functions
that talk to the PROM.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/sparc/prom/init_32.c')
-rw-r--r-- | arch/sparc/prom/init_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/prom/init_32.c b/arch/sparc/prom/init_32.c index ccb36c7f9b8c..d342dba4dd54 100644 --- a/arch/sparc/prom/init_32.c +++ b/arch/sparc/prom/init_32.c | |||
@@ -20,7 +20,7 @@ enum prom_major_version prom_vers; | |||
20 | unsigned int prom_rev, prom_prev; | 20 | unsigned int prom_rev, prom_prev; |
21 | 21 | ||
22 | /* The root node of the prom device tree. */ | 22 | /* The root node of the prom device tree. */ |
23 | int prom_root_node; | 23 | phandle prom_root_node; |
24 | EXPORT_SYMBOL(prom_root_node); | 24 | EXPORT_SYMBOL(prom_root_node); |
25 | 25 | ||
26 | /* Pointer to the device tree operations structure. */ | 26 | /* Pointer to the device tree operations structure. */ |