diff options
author | Andres Salomon <dilinger@queued.net> | 2010-10-08 23:18:11 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-09 10:33:34 +0200 |
commit | 8d1255627d4ce9cb4b9d0a1c44b6c18d92e84a99 (patch) | |
tree | 0167da953304dbabc87ab871368bcc3c10660fa8 /drivers/sbus | |
parent | sparc: stop exporting openprom.h header (diff) | |
download | linux-8d1255627d4ce9cb4b9d0a1c44b6c18d92e84a99.tar.xz linux-8d1255627d4ce9cb4b9d0a1c44b6c18d92e84a99.zip |
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 'drivers/sbus')
-rw-r--r-- | drivers/sbus/char/jsflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index 4942050dc5b6..513937160afd 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c @@ -459,7 +459,7 @@ static int jsflash_init(void) { int rc; struct jsflash *jsf; - int node; + phandle node; char banner[128]; struct linux_prom_registers reg0; |