]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/soc/litex: separate MMIO from subregister offset calculation
authorGabriel Somlo <gsomlo@gmail.com>
Tue, 12 Jan 2021 17:31:41 +0000 (12:31 -0500)
committerStafford Horne <shorne@gmail.com>
Thu, 14 Jan 2021 00:52:54 +0000 (09:52 +0900)
commit2f436a574302b36f01ed405641c13148c6a06b58
tree4f469c5c595971af888e486e3374baafc0045f70
parentbe77348f99962b17b7116e314e41cf721f139e0f
drivers/soc/litex: separate MMIO from subregister offset calculation

Separate MMIO (read/write) access into _[read|write]_litex_subregister()
static inline functions, leaving existing "READ|WRITE" macros to handle
calculation of the subregister offset only.

NOTE: this is a non-functional change.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
include/linux/litex.h