- make sunxi_rsb_bus constant
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSPRixG1tysKC2PKM10Ba7+DO8kkwUCZdj/eAAKCRB0Ba7+DO8k kwXnAQDkyy8HX/b9h07WlJoJACSn1UYVW3Ba/ngwetGhEaUD1wD/fOCTTP4Mz7uw +LRXRBM87nGpUohaq3RcqzjeN+b87AQ= =subD -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmXl7h8ACgkQYKtH/8kJ UicKPw//TYun+VWKxZSuQQgO5CdZNsMoOLkYwkJzEc9EsBgJolZt3TYI1olJVJUK 6HV1wBnJkrpDlC5ZlkEe1TXgAempYvBq6s1kOoGm2qGv9BUA38jJaEFwSbfMRk7k hWn9rnViLK1wjoodT1jUhSx949PADq9JPCJQ+0GEwwnGa8lfd2M26NmdVyvnYCCv NxlPluQCZZG6mbDpoUM/2n5h21ZM4BxHHcHojgQ2Rk7Dg9/4XDntU4JurMysD82b RmyTJ4M2RT0TQXBCx5Sq9jtkIGGM18XBB/mQXgOKKddPa37B3j/xOwaMgF6v+x1f h9kl+ddH0gBQOzIbqnMDORS0ryIFxUEEBaxd8yFupAKgiqU17WtVI+MWQ9iuZn5Q ve/INjjEwd68oKMOdSCKhlK8QIDQd4aZSReAkWEv+/qVfyABksp+9raUFkGN+fnP Z3S2gC+Fnu3h+jnyWZYQU64xPbDer3Ugm3wqLyGC1ZUM0nLMWVebyzRGpBJO4VJX i9vbgsDAteup3vJUV3EpYYyoKdQhUbkKL9lhMoXWXC9GcAIQKJ+iVB5SVb0Jii/S 1vF/07FfPjHn16rhaL1RbX45wcorcWj+fXBzosLIgSaDjTsqfVdlHNOQ6vupbs7X a4AdQT1MUlfy/+WCanWZ2pnhyf1Mwg77QcD8XoLQJr9SSqFdeac= =VICU -----END PGP SIGNATURE----- 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 <arnd@arndb.de>
This commit is contained in:
commit
c6274c15f9
@ -128,7 +128,7 @@ struct sunxi_rsb {
|
||||
};
|
||||
|
||||
/* bus / slave device related functions */
|
||||
static struct bus_type sunxi_rsb_bus;
|
||||
static const struct bus_type sunxi_rsb_bus;
|
||||
|
||||
static int sunxi_rsb_device_match(struct device *dev, struct device_driver *drv)
|
||||
{
|
||||
@ -177,7 +177,7 @@ static int sunxi_rsb_device_modalias(const struct device *dev, struct kobj_ueven
|
||||
return of_device_uevent_modalias(dev, env);
|
||||
}
|
||||
|
||||
static struct bus_type sunxi_rsb_bus = {
|
||||
static const struct bus_type sunxi_rsb_bus = {
|
||||
.name = RSB_CTRL_NAME,
|
||||
.match = sunxi_rsb_device_match,
|
||||
.probe = sunxi_rsb_device_probe,
|
||||
|
Loading…
x
Reference in New Issue
Block a user