diff options
author | Thierry Reding <treding@nvidia.com> | 2016-06-06 18:56:27 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-22 17:58:07 +0200 |
commit | 9ee8ff4867d07a6429991a0b748fa9c1586a7764 (patch) | |
tree | d0cd45e0f0b0900d6d16c1ca81d3e7b2a9e3f60c /drivers/pinctrl | |
parent | 0ac3c0a4025f41748a083bdd4970cb3ede802b15 (diff) |
gpio: tegra: Make lockdep class file-scoped
Commit b546be0db955 ("gpio: tegra: Get rid of all file scoped global
variables") moved all file scoped variables into the driver-private
structure to allow potentially multiple instances of the driver. The
change also included turning the lockdep class into a driver-private
field, which doesn't work and produces error messages such as this:
[ 0.142310] BUG: key ffff8000fb3f7ab0 not in .data!
Make the lockdep class file-scoped again to fix this issue.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions