Commit a99cc82b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Uwe Kleine-König

powerpc/fsl_msi: drop unneeded cast to non-const pointer

This cast is unneeded since *of_device_id.data became const.

[ukl: split Arnd's patch by driver and add changelog]
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent c06e6769
...@@ -502,15 +502,15 @@ static const struct fsl_msi_feature vmpic_msi_feature = { ...@@ -502,15 +502,15 @@ static const struct fsl_msi_feature vmpic_msi_feature = {
static const struct of_device_id fsl_of_msi_ids[] = { static const struct of_device_id fsl_of_msi_ids[] = {
{ {
.compatible = "fsl,mpic-msi", .compatible = "fsl,mpic-msi",
.data = (void *)&mpic_msi_feature, .data = &mpic_msi_feature,
}, },
{ {
.compatible = "fsl,ipic-msi", .compatible = "fsl,ipic-msi",
.data = (void *)&ipic_msi_feature, .data = &ipic_msi_feature,
}, },
{ {
.compatible = "fsl,vmpic-msi", .compatible = "fsl,vmpic-msi",
.data = (void *)&vmpic_msi_feature, .data = &vmpic_msi_feature,
}, },
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment