diff options
author | Dinh Nguyen <dinguyen@kernel.org> | 2017-09-22 21:42:47 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-10-04 11:29:44 +0300 |
commit | f450f28e70a2378d9d6ded0932fe480055888cfa (patch) | |
tree | f18259410861b6a69016cfcac9be0ee75888d28f /drivers/net/hippi | |
parent | 544e3bf4f0e8278400f19ca7918a3cdf2548b4eb (diff) | |
download | linux-f450f28e70a2378d9d6ded0932fe480055888cfa.tar.xz |
reset: socfpga: fix for 64-bit compilation
The SoCFPGA Stratix10 reset controller has 32-bit registers. Thus, we
cannot use BITS_PER_LONG in computing the register and bit offset. Instead,
we should be using the width of the hardware register for the calculation.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/net/hippi')
0 files changed, 0 insertions, 0 deletions