mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
4e13efc991
commit
8d1255627d
23 changed files with 157 additions and 144 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue