mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
Merge tag 'arm-soc/for-4.6/soc' of http://github.com/Broadcom/stblinux into next/soc
Merge "Broadcom soc changes for 4.6" from Florian Fainelli: This pull request contains Broadcom ARM-based SoC/platform changes: - Masahiro updates the Broadcom Northstar Plus SMP operations to be annotated with const and __initconst - Florian removes an unused variable in the Broadcom BCM63XX SMP code * tag 'arm-soc/for-4.6/soc' of http://github.com/Broadcom/stblinux: ARM: BCM63xx: Remove unused pmb_dn variable ARM: bcm: use const and __initconst for smp_operations
This commit is contained in:
commit
e4f61eeb17
@ -92,7 +92,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn,
|
||||
unsigned int *cpu,
|
||||
unsigned int *addr)
|
||||
{
|
||||
struct device_node *pmb_dn;
|
||||
struct of_phandle_args args;
|
||||
int ret;
|
||||
|
||||
@ -109,7 +108,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn,
|
||||
return ret;
|
||||
}
|
||||
|
||||
pmb_dn = args.np;
|
||||
if (args.args_count != 2) {
|
||||
pr_err("reset-controller does not conform to reset-cells\n");
|
||||
return -EINVAL;
|
||||
|
@ -283,7 +283,7 @@ static const struct smp_operations bcm_smp_ops __initconst = {
|
||||
CPU_METHOD_OF_DECLARE(bcm_smp_bcm281xx, "brcm,bcm11351-cpu-method",
|
||||
&bcm_smp_ops);
|
||||
|
||||
struct smp_operations nsp_smp_ops __initdata = {
|
||||
static const struct smp_operations nsp_smp_ops __initconst = {
|
||||
.smp_prepare_cpus = bcm_smp_prepare_cpus,
|
||||
.smp_boot_secondary = nsp_boot_secondary,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user