summaryrefslogtreecommitdiff
path: root/include/linux/rtc.h
diff options
context:
space:
mode:
authorBastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>2026-01-05 16:08:05 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-01-08 15:01:16 +0300
commit5b1fe74facc2abab66cee1d18a74807f457983ff (patch)
tree8a74c8c4b97521bbdbd842227913c4af0da29c95 /include/linux/rtc.h
parent776ad30de04e26b705ce2c36d7efe99aa6f12d6f (diff)
downloadlinux-5b1fe74facc2abab66cee1d18a74807f457983ff.tar.xz
net: dsa: microchip: Use regs[] to access REG_PTP_RTC_SUB_NANOSEC
Accesses to the PTP_RTC_SUB_NANOSEC register are done through a hardcoded address which doesn't match with the KSZ8463's register layout. Add a new entry for the PTP_RTC_SUB_NANOSEC register in the regs[] tables. Use the regs[] table to retrieve the PTP_RTC_SUB_NANOSEC 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-6-a68df7f57375@bootlin.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/rtc.h')
0 files changed, 0 insertions, 0 deletions