[SPARC64]: constify of_get_property return: arch/sparc64
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8271f04242
commit
6a23acf390
@@ -343,8 +343,8 @@ static int init_one_mctrl(struct device_node *dp)
|
||||
{
|
||||
struct mctrl_info *mp = kzalloc(sizeof(*mp), GFP_KERNEL);
|
||||
int portid = of_getintprop_default(dp, "portid", -1);
|
||||
struct linux_prom64_registers *regs;
|
||||
void *pval;
|
||||
const struct linux_prom64_registers *regs;
|
||||
const void *pval;
|
||||
int len;
|
||||
|
||||
if (!mp)
|
||||
|
Reference in New Issue
Block a user