mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[SPARC/64] constify of_get_property return: sound
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
66f3cb7ccf
commit
3198514d2d
2 changed files with 3 additions and 3 deletions
|
@ -1067,8 +1067,8 @@ out_err:
|
|||
|
||||
static int __devinit amd7930_obio_attach(struct device_node *dp)
|
||||
{
|
||||
struct linux_prom_registers *regs;
|
||||
struct linux_prom_irqs *irqp;
|
||||
const struct linux_prom_registers *regs;
|
||||
const struct linux_prom_irqs *irqp;
|
||||
struct resource res, *rp;
|
||||
int len;
|
||||
|
||||
|
|
|
@ -2284,7 +2284,7 @@ static int __init cs4231_init(void)
|
|||
if (!strcmp(edev->prom_node->name, "SUNW,CS4231")) {
|
||||
match = 1;
|
||||
} else if (!strcmp(edev->prom_node->name, "audio")) {
|
||||
char *compat;
|
||||
const char *compat;
|
||||
|
||||
compat = of_get_property(edev->prom_node,
|
||||
"compatible", NULL);
|
||||
|
|
Loading…
Reference in a new issue