eth: dw: Make driver config_info structure const.

Change-Id: I4b3a86c29c28cee09547973e85ea55489c5cc489
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-19 22:08:51 +01:00 committed by Kumar Gala
parent 6d97853a6b
commit df4b8d3915

View file

@ -288,7 +288,7 @@ static int eth_initialize(struct device *port)
#if CONFIG_ETH_DW_0
static void eth_config_0_irq(struct device *port);
static struct eth_config eth_config_0 = {
static const struct eth_config eth_config_0 = {
#ifdef CONFIG_ETH_DW_0_IRQ_DIRECT
.irq_num = ETH_DW_0_IRQ,
#endif