Skip to content

Commit c6274c1

Browse files
committed
Merge tag 'sunxi-drivers-for-6.9-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into soc/drivers
- make sunxi_rsb_bus constant * tag 'sunxi-drivers-for-6.9-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: bus: sunxi-rsb: make sunxi_rsb_bus const Link: https://lore.kernel.org/r/20240223205734.GA9027@jernej-laptop Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 1b9df39 + 0daf87e commit c6274c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/bus/sunxi-rsb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ struct sunxi_rsb {
128128
};
129129

130130
/* bus / slave device related functions */
131-
static struct bus_type sunxi_rsb_bus;
131+
static const struct bus_type sunxi_rsb_bus;
132132

133133
static int sunxi_rsb_device_match(struct device *dev, struct device_driver *drv)
134134
{
@@ -177,7 +177,7 @@ static int sunxi_rsb_device_modalias(const struct device *dev, struct kobj_ueven
177177
return of_device_uevent_modalias(dev, env);
178178
}
179179

180-
static struct bus_type sunxi_rsb_bus = {
180+
static const struct bus_type sunxi_rsb_bus = {
181181
.name = RSB_CTRL_NAME,
182182
.match = sunxi_rsb_device_match,
183183
.probe = sunxi_rsb_device_probe,

0 commit comments

Comments
 (0)