diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-09-27 22:15:19 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-28 19:14:56 -0700 |
commit | 044d447a801f2d0c03e153ef41835aebf66ca2d6 (patch) | |
tree | 1ae5817a8607031bee550bf6ccd6628d08bb91e9 /drivers/net/wireless | |
parent | 8f66c64bfca33fd863e2bf0f53d7774d0c9c6aba (diff) |
net: dsa: felix: use DEFINE_RES_MEM_NAMED for resources
Use less verbose resource definitions in vsc9959 and vsc9953. This also
sets IORESOURCE_MEM in the constant array of resources, so we don't have
to do this from felix_init_structs() - in fact, in the future, we may
even support IORESOURCE_REG resources.
Note that this macro takes start and length as argument, and we had
start and end before. So transform end into length.
While at it, sort the resources according to their offset.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions