diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-01-30 22:44:56 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-01-30 22:44:56 -0500 |
| commit | 5921dfe8dc2acc132600aa3e6eba53ecc9cd4c32 (patch) | |
| tree | 93aaacfd0fd8125c64e02e0354bc672dfa9aff50 | |
| parent | 73dc61cb386b0fdc488e8c6545817c1bbbb6e93e (diff) | |
| parent | 41c9e95d641acc096975e70239742929b5971afa (diff) | |
Merge tag 'staging-3.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging tree fixes from Greg KH:
"Here are two tiny staging tree fixes. One for the nvec driver to
resolve a reported problem, and one to add a MAINTAINERS entry for the
Android drivers"
* tag 'staging-3.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
MAINTAINERS: add Android driver entries
staging: nvec: specify a platform-device base id
| -rw-r--r-- | MAINTAINERS | 10 | ||||
| -rw-r--r-- | drivers/staging/nvec/nvec.c | 9 |
2 files changed, 13 insertions, 6 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 2ebb056cbe0a..038f517f90ef 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -708,6 +708,16 @@ X: drivers/iio/*/adjd* | |||
| 708 | F: drivers/staging/iio/*/ad* | 708 | F: drivers/staging/iio/*/ad* |
| 709 | F: staging/iio/trigger/iio-trig-bfin-timer.c | 709 | F: staging/iio/trigger/iio-trig-bfin-timer.c |
| 710 | 710 | ||
| 711 | ANDROID DRIVERS | ||
| 712 | M: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
| 713 | M: Arve Hjønnevåg <arve@android.com> | ||
| 714 | M: Riley Andrews <riandrews@android.com> | ||
| 715 | T: git git://git.kernel.org/pub/scm/linux/kernel/gregkh/staging.git | ||
| 716 | L: devel@driverdev.osuosl.org | ||
| 717 | S: Supported | ||
| 718 | F: drivers/android/ | ||
| 719 | F: drivers/staging/android/ | ||
| 720 | |||
| 711 | AOA (Apple Onboard Audio) ALSA DRIVER | 721 | AOA (Apple Onboard Audio) ALSA DRIVER |
| 712 | M: Johannes Berg <johannes@sipsolutions.net> | 722 | M: Johannes Berg <johannes@sipsolutions.net> |
| 713 | L: linuxppc-dev@lists.ozlabs.org | 723 | L: linuxppc-dev@lists.ozlabs.org |
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 093535c6217b..120b70d72d79 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c | |||
| @@ -85,23 +85,20 @@ static struct nvec_chip *nvec_power_handle; | |||
| 85 | static const struct mfd_cell nvec_devices[] = { | 85 | static const struct mfd_cell nvec_devices[] = { |
| 86 | { | 86 | { |
| 87 | .name = "nvec-kbd", | 87 | .name = "nvec-kbd", |
| 88 | .id = 1, | ||
| 89 | }, | 88 | }, |
| 90 | { | 89 | { |
| 91 | .name = "nvec-mouse", | 90 | .name = "nvec-mouse", |
| 92 | .id = 1, | ||
| 93 | }, | 91 | }, |
| 94 | { | 92 | { |
| 95 | .name = "nvec-power", | 93 | .name = "nvec-power", |
| 96 | .id = 1, | 94 | .id = 0, |
| 97 | }, | 95 | }, |
| 98 | { | 96 | { |
| 99 | .name = "nvec-power", | 97 | .name = "nvec-power", |
| 100 | .id = 2, | 98 | .id = 1, |
| 101 | }, | 99 | }, |
| 102 | { | 100 | { |
| 103 | .name = "nvec-paz00", | 101 | .name = "nvec-paz00", |
| 104 | .id = 1, | ||
| 105 | }, | 102 | }, |
| 106 | }; | 103 | }; |
| 107 | 104 | ||
| @@ -891,7 +888,7 @@ static int tegra_nvec_probe(struct platform_device *pdev) | |||
| 891 | nvec_msg_free(nvec, msg); | 888 | nvec_msg_free(nvec, msg); |
| 892 | } | 889 | } |
| 893 | 890 | ||
| 894 | ret = mfd_add_devices(nvec->dev, -1, nvec_devices, | 891 | ret = mfd_add_devices(nvec->dev, 0, nvec_devices, |
| 895 | ARRAY_SIZE(nvec_devices), NULL, 0, NULL); | 892 | ARRAY_SIZE(nvec_devices), NULL, 0, NULL); |
| 896 | if (ret) | 893 | if (ret) |
| 897 | dev_err(nvec->dev, "error adding subdevices\n"); | 894 | dev_err(nvec->dev, "error adding subdevices\n"); |
