linux_dsm_epyc7002/drivers/net/can/mscan
Marc Kleine-Budde 8cf437a0dc can: mpc5xxx_can: fix section type conflict
Since commit:
    6d99c4c can: mpc5xxx_can: make data used as *of_device_id.data const

both "struct mpc5xxx_can_data mpc5200_can_data" and "mpc5121_can_data" are
marked as "const" but also as "__devinitdata". This leads to the following
compile error:

drivers/net/can/mscan/mpc5xxx_can.c:383: error: mpc5200_can_data causes a section type conflict
drivers/net/can/mscan/mpc5xxx_can.c:383: error: mpc5200_can_data causes a section type conflict
drivers/net/can/mscan/mpc5xxx_can.c:388: error: mpc5121_can_data causes a section type conflict
drivers/net/can/mscan/mpc5xxx_can.c:388: error: mpc5121_can_data causes a section type conflict

This patch changes the "__devinitdata" to "__devinitconst" and marks the
"struct of_device_id mpc5xxx_can_table" as "const" and "__devinitconst", too.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-10-04 19:26:32 +02:00
..
Kconfig m68knommu: Remove dependencies on nonexistent M68KNOMMU 2011-02-08 15:07:44 +10:00
Makefile net/can/mscan: improve build 2009-11-17 03:57:34 -08:00
mpc5xxx_can.c can: mpc5xxx_can: fix section type conflict 2012-10-04 19:26:32 +02:00
mscan.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
mscan.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00