Re: [PATCH] sh: intc: make intc_subsys const
Greg Kroah-Hartman <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <2024020913-washbowl-old-a71d@gregkh> |
On Thu, Feb 08, 2024 at 04:56:52PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the make intc_subsys variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman <[email protected]> > Suggested-by: Greg Kroah-Hartman <[email protected]> > Signed-off-by: Ricardo B. Marliere <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]>