diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-26 09:03:53 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 10:55:45 +0200 |
commit | ee5ac9ddf2ea13be2418ac7d0ce5a930e78af013 (patch) | |
tree | ce240dc037cf29bdcc751065977c6e04e2b804fd /arch/sparc/kernel/ebus.c | |
parent | [SPARC64]: Convert SBUS over to generic iommu/strbuf structs. (diff) | |
download | linux-ee5ac9ddf2ea13be2418ac7d0ce5a930e78af013.tar.xz linux-ee5ac9ddf2ea13be2418ac7d0ce5a930e78af013.zip |
[SPARC]: device_node name constification fallout
A couple of routines need their arguments to be const.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ebus.c')
-rw-r--r-- | arch/sparc/kernel/ebus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/ebus.c b/arch/sparc/kernel/ebus.c index 7724e2067159..7bb86b9cdaa3 100644 --- a/arch/sparc/kernel/ebus.c +++ b/arch/sparc/kernel/ebus.c @@ -25,7 +25,7 @@ struct linux_ebus *ebus_chain = NULL; /* We are together with pcic.c under CONFIG_PCI. */ -extern unsigned int pcic_pin_to_irq(unsigned int, char *name); +extern unsigned int pcic_pin_to_irq(unsigned int, const char *name); /* * IRQ Blacklist @@ -69,7 +69,7 @@ static inline unsigned long ebus_alloc(size_t size) /* */ -int __init ebus_blacklist_irq(char *name) +int __init ebus_blacklist_irq(const char *name) { struct ebus_device_irq *dp; |