diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2015-06-09 11:17:07 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-06-22 13:25:30 +0200 |
commit | 1abf25a25b86dcfe28d243a5af71bd1c9d6de1ef (patch) | |
tree | a7b19d8cc23079f8b9c6cedbefc0250ab7952fa4 /drivers/rtc | |
parent | mfd: si476x-i2c: Pass the IRQF_ONESHOT flag (diff) | |
download | linux-1abf25a25b86dcfe28d243a5af71bd1c9d6de1ef.tar.xz linux-1abf25a25b86dcfe28d243a5af71bd1c9d6de1ef.zip |
mfd: lpc_ich: Assign subdevice ids automatically
Using -1 as platform device id means that the platform driver core will not
assign any id to the device (the device name will not have id at all). This
results problems on systems that have multiple PCHs (Platform Controller
HUBs) because all of them also include their own copy of LPC device.
All the subsequent device creations will fail because there already exists
platform device with the same name.
Fix this by passing PLATFORM_DEVID_AUTO as platform device id. This makes
the platform device core to allocate new ids automatically.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions