linux/arch/powerpc/platforms/cell
Rohan McLure 6b3a3e12f8 powerpc: declare unmodified attribute_group usages const
Inspired by (bd75b4ef49: Constify static attribute_group structs),
accepted by linux-next, reported:
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220210202805.7750-4-rikard.falkeborn@gmail.com/

Nearly all singletons of type struct attribute_group are never modified,
and so are candidates for being const. Declare them as const.

Signed-off-by: Rohan McLure <rmclure@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220307231414.86560-1-rmclure@linux.ibm.com
2022-03-08 22:15:32 +11:00
..
spufs powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n 2022-03-08 22:07:41 +11:00
axon_msi.c powerpc/cell/axon_msi: Convert to msi_on_each_desc() 2021-12-16 22:22:18 +01:00
cbe_powerbutton.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00
cbe_regs.c powerpc/cell: Add __init attribute to eligible functions 2021-12-23 22:33:13 +11:00
cbe_thermal.c powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
cell.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
cpufreq_spudemand.c cpufreq: Register governors at core_initcall 2020-07-02 13:03:30 +02:00
interrupt.c powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-10 23:15:02 +10:00
interrupt.h
iommu.c powerpc/cell: Add __init attribute to eligible functions 2021-12-23 22:33:13 +11:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
Makefile arch: powerpc: Stop building and using oprofile 2021-01-29 10:05:51 +05:30
pervasive.c powerpc/cell: Fix clang -Wimplicit-fallthrough warning 2021-12-09 22:41:21 +11:00
pervasive.h powerpc/cell: tidy up pervasive declarations 2021-02-09 00:02:11 +11:00
pmu.c powerpc: Add missing linux/{of.h,irqdomain.h} include directives 2021-06-10 13:09:16 +01:00
ras.c powerpc: convert interrupt handlers to use wrappers 2021-02-09 00:02:12 +11:00
ras.h powerpc: convert interrupt handlers to use wrappers 2021-02-09 00:02:12 +11:00
setup.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
smp.c powerpc/preempt: Don't touch the idle task's preempt_count during hotplug 2021-07-08 23:38:10 +10:00
spider-pci.c powerpc/spider-pci: Remove set but not used variable 'val' 2021-06-15 17:12:27 +10:00
spider-pic.c powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-10 23:15:02 +10:00
spu_base.c powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
spu_callbacks.c powerpc/syscalls: switch to generic syscalltbl.sh 2021-04-14 23:04:16 +10:00
spu_manage.c powerpc/cell: Add __init attribute to eligible functions 2021-12-23 22:33:13 +11:00
spu_priv1_mmio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
spu_priv1_mmio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
spu_syscalls.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00