summaryrefslogtreecommitdiff
path: root/arch/nios2/kernel/traps.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-04-16 20:21:15 +0300
committerTony Lindgren <tony@atomide.com>2018-04-30 22:04:51 +0300
commit103fd8e7ac1f5f8e332970a95c79cd32c537798a (patch)
tree42b4fc1059b1e53bfb0a1ab6f76375266054ee3d /arch/nios2/kernel/traps.c
parentb456d4f592ba01a60c78539ca519893f86e4a600 (diff)
downloadlinux-103fd8e7ac1f5f8e332970a95c79cd32c537798a.tar.xz
ARM: OMAP2+: Use signed value for sysc register offsets
We currently don't know if a revision register exists or not. Zero is often a valid offset for the revision register. As we are still checking device tree data against platform data, we will get bogus warnings with correct device tree data because of incomplete platform data. Let's fix the issue by using signed offsets and tag the revision registers that don't exist with -ENODEV, and init the missing ones with the correct revision register offset. Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/nios2/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions