Sam Ravnborg
a1129b0922
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:22:23 -04:00
..
2019-07-15 00:39:33 +02: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
2018-11-18 13:35:21 -08: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
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-09 14:26:16 -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
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
2018-03-20 12:05:17 -04: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
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:45 -07: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
2018-05-09 06:54:27 +02:00
2019-02-20 07:28:58 -07:00
2023-04-05 11:16:43 +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
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-06 09:46:51 +09:00
2019-02-20 07:28:53 -07:00
2018-12-30 08:33:06 +00:00
2018-12-30 08:33:06 +00:00
2018-06-21 12:33:19 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-09 06:54:27 +02:00
2019-05-21 10:50:45 +02:00
2018-11-18 13:35:22 -08:00
2024-03-26 18:22:23 -04:00
2024-03-26 18:22:23 -04:00
2018-05-22 07:54:06 -05: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
2021-09-30 10:09:25 +02: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
2019-05-21 10:50:45 +02: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
2019-04-10 21:42:04 +02:00
2017-11-02 11:10:55 +01:00
2019-02-20 07:28:53 -07:00
2018-05-22 07:54:06 -05:00
2019-05-21 10:50:45 +02: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
2018-11-18 13:35:21 -08:00
2019-05-29 09:31:43 -05:00
2019-05-30 11:26:32 -07: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-06-30 15:36:47 -04:00
2020-06-22 09:31:21 +02:00
2018-11-18 13:35:21 -08:00
2017-11-02 11:10:55 +01:00
2018-10-26 15:04:41 -07:00
2019-03-05 21:07:14 -08:00
2023-08-08 19:56:34 +02:00
2019-03-12 10:04:02 -07:00
2019-05-27 09:36:28 -05:00
2019-05-27 09:36:28 -05:00
2019-05-27 09:36:28 -05: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
2017-11-02 11:10:55 +01:00
2020-11-05 11:43:13 +01:00
2016-08-07 23:55:43 -04: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
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:21 -08: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
2019-06-19 17:09:52 +02:00
2017-11-02 11:10:55 +01:00
2018-03-20 12:01:23 -04:00
2018-04-07 14:30:28 -07:00
2019-05-29 09:31:43 -05:00
2019-09-07 21:42:25 +02:00
2018-03-20 12:05:17 -04:00
2017-11-02 11:10:55 +01:00
2018-11-18 18:52:22 -08:00
2018-11-18 18:52:22 -08: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
2017-11-02 11:10:55 +01:00
2023-02-06 07:52:49 +01:00
2023-02-06 07:52:49 +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
2019-01-03 18:57:57 -08: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
2017-11-15 14:21:03 +09:00
2018-11-18 13:35:21 -08:00
2018-10-07 22:42:00 -07:00
2017-11-02 11:10:55 +01:00
2020-02-24 08:36:27 +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
2017-11-02 11:10:55 +01:00