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/kernel/btext.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/kernel/btext.c')
-rw-r--r-- | arch/sparc/kernel/btext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/btext.c b/arch/sparc/kernel/btext.c index 8cc2d56ffe9a..89aa4eb20cf5 100644 --- a/arch/sparc/kernel/btext.c +++ b/arch/sparc/kernel/btext.c | |||
@@ -40,7 +40,7 @@ static unsigned char *dispDeviceBase __force_data; | |||
40 | 40 | ||
41 | static unsigned char vga_font[cmapsz]; | 41 | static unsigned char vga_font[cmapsz]; |
42 | 42 | ||
43 | static int __init btext_initialize(unsigned int node) | 43 | static int __init btext_initialize(phandle node) |
44 | { | 44 | { |
45 | unsigned int width, height, depth, pitch; | 45 | unsigned int width, height, depth, pitch; |
46 | unsigned long address = 0; | 46 | unsigned long address = 0; |
@@ -309,7 +309,7 @@ static struct console btext_console = { | |||
309 | 309 | ||
310 | int __init btext_find_display(void) | 310 | int __init btext_find_display(void) |
311 | { | 311 | { |
312 | unsigned int node; | 312 | phandle node; |
313 | char type[32]; | 313 | char type[32]; |
314 | int ret; | 314 | int ret; |
315 | 315 | ||