diff options
author | Rob Herring <robh@kernel.org> | 2020-04-21 13:40:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-24 07:59:10 +0200 |
commit | 8063482e1cbc547e496b1e5c62b9d5155c71f378 (patch) | |
tree | acb14b526b49fa449b3244e46fef0675079cd763 /fs/befs | |
parent | 1e0060e277d3f0989247898dc6ff90beca6e5d6b (diff) |
of: fix missing kobject init for !SYSFS && OF_DYNAMIC config
[ Upstream commit bd82bbf38cbe27f2c65660da801900d71bcc5cc8 ]
The ref counting is broken for OF_DYNAMIC when sysfs is disabled because
the kobject initialization is skipped. Only the properties
add/remove/update should be skipped for !SYSFS config.
Tested-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions