diff options
author | David S. Miller <davem@davemloft.net> | 2010-11-16 23:50:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-16 23:50:19 +0300 |
commit | c540ee70e49b573535c7ddfd0e9a0fc9d549c8b7 (patch) | |
tree | 26c47815c3159d70f54cbb5ffd0eab91e8433675 /arch/sparc/prom | |
parent | f7b5f55ac1623dfde24ef5319ad77c1746645f3f (diff) | |
download | linux-c540ee70e49b573535c7ddfd0e9a0fc9d549c8b7.tar.xz |
sparc64: Delete prom_setcallback().
Unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/prom')
-rw-r--r-- | arch/sparc/prom/misc_64.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/sparc/prom/misc_64.c b/arch/sparc/prom/misc_64.c index b900fdf829a0..e4f31d4d3715 100644 --- a/arch/sparc/prom/misc_64.c +++ b/arch/sparc/prom/misc_64.c @@ -150,20 +150,6 @@ void prom_halt_power_off(void) prom_halt(); } -/* Set prom sync handler to call function 'funcp'. */ -void prom_setcallback(callback_func_t funcp) -{ - unsigned long args[5]; - if (!funcp) - return; - args[0] = (unsigned long) "set-callback"; - args[1] = 1; - args[2] = 1; - args[3] = (unsigned long) funcp; - args[4] = (unsigned long) -1; - p1275_cmd_direct(args); -} - /* Get the idprom and stuff it into buffer 'idbuf'. Returns the * format type. 'num_bytes' is the number of bytes that your idbuf * has space for. Returns 0xff on error. |