Skip to content

Commit

Permalink
drivers: ethernet: sam_gmac: replace dt_int_val in Kconfig
Browse files Browse the repository at this point in the history
Replace dt_int_val as its deprecated and meant to be removed with
dt_node_int_prop_int.

Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
galak committed Apr 7, 2020
1 parent 338b431 commit 3d353a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ethernet/Kconfig.sam_gmac
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ETH_SAM_GMAC
config ETH_SAM_GMAC_QUEUES
int "Number of active hardware TX and RX queues"
default 1
range 1 $(dt_int_val,DT_INST_0_ATMEL_SAM_GMAC_NUM_QUEUES)
range 1 $(dt_node_int_prop_int,/soc/ethernet@40050088,num-queues)
help
Select the number of hardware queues used by the driver. Packets will be
routed to appropriate queues based on their priority.
Expand Down

0 comments on commit 3d353a0

Please sign in to comment.