Sam Ravnborg
d83d70b25d
sparc32: Fix section mismatch in leon_pci_grpci
...
[ Upstream commit 24338a6ae13cb743ced77da1b3a12c83f08a0c96 ]
Passing a datastructre marked _initconst to platform_driver_register()
is wrong. Drop the __initconst notation.
This fixes the following warnings:
WARNING: modpost: vmlinux: section mismatch in reference: grpci1_of_driver+0x30 (section: .data) -> grpci1_of_match (section: .init.rodata)
WARNING: modpost: vmlinux: section mismatch in reference: grpci2_of_driver+0x30 (section: .data) -> grpci2_of_match (section: .init.rodata)
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andreas Larsson <andreas@gaisler.com>
Fixes: 4154bb821f0b ("sparc: leon: grpci1: constify of_device_id")
Fixes: 03949b1cb9f1 ("sparc: leon: grpci2: constify of_device_id")
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-7-1f186603c5c4@ravnborg.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:21:32 -04:00
..
2021-09-08 15:32:35 -07:00
2020-03-25 11:50:48 +01:00
2019-06-19 17:09:52 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-23 17:36:59 -05:00
2020-10-25 14:51:49 -07:00
2020-08-23 17:36:59 -05:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2020-05-07 18:49:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-05-14 13:45:58 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:45 -07:00
2021-02-23 15:09:53 -08:00
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:48 -07:00
2017-11-02 11:10:55 +01:00
2018-11-27 20:31:46 -05:00
2017-11-02 11:10:55 +01:00
2021-01-03 20:10:55 -05:00
2021-01-03 20:10:54 -05:00
2019-05-21 10:50:45 +02:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-06 06:56:40 -08:00
2020-09-03 18:12:15 +02:00
2021-08-09 17:13:06 +02:00
2021-09-14 14:35:17 +02:00
2017-11-02 11:10:55 +01:00
2021-02-10 23:34:16 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-06 09:46:51 +09:00
2020-06-23 10:49:56 +02:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2021-06-03 15:47:26 +02:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2018-05-09 06:54:27 +02:00
2021-02-18 16:31:13 -08:00
2018-11-18 13:35:22 -08:00
2024-03-26 18:21:32 -04:00
2024-03-26 18:21:32 -04:00
2018-05-22 07:54:06 -05:00
2020-11-24 16:47:35 +01:00
2020-08-07 11:33:26 -07:00
2020-06-23 10:49:56 +02:00
2021-09-15 13:42:33 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2018-11-18 13:35:22 -08:00
2018-11-18 13:35:22 -08:00
2020-04-02 18:11:55 -07:00
2017-11-02 11:10:55 +01:00
2018-05-22 07:54:06 -05:00
2019-03-05 21:07:14 -08:00
2018-02-15 15:07:30 -06:00
2018-05-22 07:54:06 -05:00
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:21 -08:00
2019-03-05 21:07:14 -08:00
2017-11-02 11:10:55 +01:00
2021-08-09 17:13:06 +02:00
2017-11-02 11:10:55 +01:00
2020-08-05 17:51:51 -07:00
2018-05-22 07:54:06 -05:00
2020-08-23 17:36:59 -05:00
2019-06-02 22:16:33 -07:00
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:20 -08:00
2021-08-19 09:02:55 +09:00
2021-09-08 15:32:35 -07:00
2020-08-20 13:12:58 +02:00
2020-08-23 17:36:59 -05:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2018-11-18 13:35:21 -08:00
2017-11-02 11:10:55 +01:00
2019-03-05 21:07:14 -08:00
2017-11-02 11:10:55 +01:00
2020-07-27 14:31:08 -04:00
2020-07-27 14:31:08 -04:00
2018-11-18 13:35:21 -08:00
2021-02-18 16:15:11 -08:00
2019-12-08 14:37:35 +01:00
2019-03-05 21:07:14 -08:00
2023-08-08 19:58:31 +02:00
2021-01-03 20:10:54 -05:00
2022-06-09 10:22:48 +02:00
2022-04-08 14:24:01 +02:00
2022-06-09 10:22:48 +02:00
2019-01-03 18:57:57 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-05-12 13:01:45 +02:00
2021-06-29 17:29:11 -07:00
2016-08-07 23:55:43 -04:00
2017-11-02 11:10:55 +01:00
2021-07-01 11:06:04 -07:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:21 -08:00
2017-11-02 11:10:55 +01:00
2020-08-07 11:33:26 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:52 +02:00
2017-11-02 11:10:55 +01:00
2020-07-19 18:16:40 -07:00
2020-06-02 18:41:48 -07:00
2021-07-23 13:08:57 -05:00
2021-07-23 13:08:57 -05:00
2020-06-23 10:49:54 +02:00
2017-11-02 11:10:55 +01:00
2021-05-02 00:43:34 +09:00
2021-05-02 00:43:34 +09:00
2018-03-20 12:05:17 -04:00
2017-11-02 11:10:55 +01:00
2019-05-10 12:20:36 +02:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2023-02-01 08:27:20 +01:00
2023-02-01 08:27:20 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:45 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-07-23 13:08:57 -05:00
2017-11-02 11:10:55 +01:00
2019-05-21 11:28:45 +02:00
2018-03-18 07:38:48 -07:00
2017-11-02 11:10:55 +01:00
2020-08-06 16:13:13 +02:00
2021-07-21 11:53:42 +02:00
2020-06-22 15:43:16 -07:00
2017-11-02 11:10:55 +01:00
2020-09-01 09:50:35 +02:00
2021-11-25 09:49:07 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00