diff options
author | Aaron Sierra <asierra@xes-inc.com> | 2016-04-24 22:11:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-01 23:00:00 +0200 |
commit | 326071b3c985683f8a18417bed3ea2ab930a7ba1 (patch) | |
tree | 6e6bf20fcc95af0132d25317c324da1509566e29 /drivers/nvmem/Kconfig | |
parent | nvmem: Fix build error of missing devm_ioremap_resource on UM (diff) | |
download | linux-326071b3c985683f8a18417bed3ea2ab930a7ba1.tar.xz linux-326071b3c985683f8a18417bed3ea2ab930a7ba1.zip |
vme: add vme_init_bridge for common bridge init
Consolidate vme_bridge structure setup that every bridge was required
to do itself. This came about because .irq_mtx is only used within the
VME core, but was required to be setup externally.
This returns the structure passed in to support shorthand like this:
bridge = vme_init_bridge(&priv->bridge);
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Martyn Welch <martyn@welchs.me.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
0 files changed, 0 insertions, 0 deletions