summaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-wdm.c
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2017-09-22 21:42:47 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-10-04 11:29:44 +0300
commitf450f28e70a2378d9d6ded0932fe480055888cfa (patch)
treef18259410861b6a69016cfcac9be0ee75888d28f /drivers/usb/class/cdc-wdm.c
parent544e3bf4f0e8278400f19ca7918a3cdf2548b4eb (diff)
downloadlinux-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/usb/class/cdc-wdm.c')
0 files changed, 0 insertions, 0 deletions