spi: fsl-dspi: Make of_device_id array const
Subsystems (5)
PATCH 1/6 spi: fsl-dspi: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const.
--- drivers/spi/spi-fsl-dspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-fsl-dspi.c +1 -1
@@ -406,7 +406,7 @@ static irqreturn_t dspi_interrupt(int irq, void *dev_id)return IRQ_HANDLED ; } -static struct of_device_id fsl_dspi_dt_ids[] = { +static const struct of_device_id fsl_dspi_dt_ids[] = { { .compatible ="fsl,vf610-dspi" , .data =NULL , }, {/* sentinel */ } };
Signature · 7 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 01db01cf69c8$584cd640$08e682c0$%[email protected]
PATCH 2/6 spi: spi-gpio: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const.
--- drivers/spi/spi-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-gpio.c +1 -1
@@ -340,7 +340,7 @@ done: }#ifdef CONFIG_OF -static struct of_device_id spi_gpio_dt_ids[] = { +static const struct of_device_id spi_gpio_dt_ids[] = { { .compatible ="spi-gpio" }, {} };
Signature · 7 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 3/6 spi: qup: Make of_device_id array const
In reply to a message not in the archiveMake of_device_id array const, because all OF functions handle it as const.
--- drivers/spi/spi-qup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-qup.c +1 -1
@@ -749,7 +749,7 @@ static int spi_qup_remove(struct platform_device *pdev)return 0 ; } -static struct of_device_id spi_qup_dt_match[] = { +static const struct of_device_id spi_qup_dt_match[] = { { .compatible ="qcom,spi-qup-v2.1.1" , }, { .compatible ="qcom,spi-qup-v2.2.1" , }, { }
Signature · 7 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 01dd01cf69c8$f52322d0$df696870$%[email protected]
Axel Lin
Reviewed-byRe: [PATCH 3/6] spi: qup: Make of_device_id array const
2014-05-07 15:50 GMT+08:00 Jingoo Han <[email protected]>:
Quoted 4 lines
Make
of_device_idarray const, because all OF functions handle it as const.Signed-off-by Jingoo Han <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 4/6 spi: tegra114: Make of_device_id array const
In reply to a message not in the archiveMake of_device_id array const, because all OF functions handle it as const.
--- drivers/spi/spi-tegra114.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-tegra114.c +1 -1
@@ -1012,7 +1012,7 @@ static irqreturn_t tegra_spi_isr(int irq, void *context_data)return IRQ_WAKE_THREAD ; } -static struct of_device_id tegra_spi_of_match[] = { +static const struct of_device_id tegra_spi_of_match[] = { { .compatible ="nvidia,tegra114-spi" , }, {} };
Signature · 7 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 01de01cf69c9$179aaef0$46d00cd0$%[email protected]
Laxman Dewangan
Acked-byRe: [PATCH 4/6] spi: tegra114: Make of_device_id array const
Quoted 4 lines · Jingoo Han
Make
of_device_idarray const, because all OF functions handle it as const.
For 4, 5 and 6 of this series,
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 5/6 spi: tegra20-sflash: Make of_device_id array const
In reply to a message not in the archiveMake of_device_id array const, because all OF functions handle it as const.
--- drivers/spi/spi-tegra20-sflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-tegra20-sflash.c +1 -1
@@ -419,7 +419,7 @@ static irqreturn_t tegra_sflash_isr(int irq, void *context_data)return handle_cpu_based_xfer (tsd); } -static struct of_device_id tegra_sflash_of_match[] = { +static const struct of_device_id tegra_sflash_of_match[] = { { .compatible ="nvidia,tegra20-sflash" , }, {} };
Signature · 7 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 6/6 spi: tegra20-slink: Make of_device_id array const
In reply to a message not in the archiveMake of_device_id array const, because all OF functions handle it as const.
--- drivers/spi/spi-tegra20-slink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-tegra20-slink.c +1 -1
@@ -1001,7 +1001,7 @@ static const struct tegra_slink_chip_data tegra20_spi_cdata = { .cs_hold_time = false, }; -static struct of_device_id tegra_slink_of_match[] = { +static const struct of_device_id tegra_slink_of_match[] = { { .compatible ="nvidia,tegra30-slink" , .data = &tegra30_spi_cdata, }, { .compatible ="nvidia,tegra20-slink" , .data = &tegra20_spi_cdata, }, {}
Signature · 7 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Mark Brown
AppliedQuoted 2 lines · Jingoo Han
Make
of_device_idarray const, because all OF functions handle it as const.
Applied, thanks.