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:
parent
6d97853a6b
commit
df4b8d3915
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue