summaryrefslogtreecommitdiff
path: root/include/linux/seqlock_api.h
diff options
context:
space:
mode:
authorBastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>2026-01-05 16:08:02 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-01-08 15:01:16 +0300
commit62382d6ffe596efd4ea16edd460ab94d3eba1c21 (patch)
tree3e7e11561604d74c65c8f7b3ba345f035919d356 /include/linux/seqlock_api.h
parent22bde912e80086c51d19c8e99d8267784d076ad4 (diff)
downloadlinux-62382d6ffe596efd4ea16edd460ab94d3eba1c21.tar.xz
net: dsa: microchip: Use regs[] to access REG_PTP_CLK_CTRL
Accesses to the PTP_CLK_CTRL register are done through a hardcoded address which doesn't match with the KSZ8463's register layout. Add a new entry for the PTP_CLK_CTRL register in the regs[] tables. Use the regs[] table to retrieve the PTP_CLK_CTRL register address when accessing it. Remove the macro defining the address to prevent further use. Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com> Link: https://patch.msgid.link/20260105-ksz-rework-v1-3-a68df7f57375@bootlin.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/seqlock_api.h')
0 files changed, 0 insertions, 0 deletions