diff options
author | Yue Hu <huyue2@yulong.com> | 2019-01-23 16:56:48 +0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-02-12 12:10:43 -0800 |
commit | 1e0f67a96aedd0b5fbd3ae743e68a26606ea98e8 (patch) | |
tree | 374370fe3ded31a8b5bd66f03a0970bb0aa09c9c /drivers/pwm/pwm-bcm-iproc.c | |
parent | 4c6c4d34536744f2c9e171ef5bb548a06a525501 (diff) |
pstore/ram: Move initialization earlier
Since only one single ramoops area allowed at a time, other probes
(like device tree) are meaningless, as it will waste CPU resources.
So let's check for being already initialized first.
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/pwm/pwm-bcm-iproc.c')
0 files changed, 0 insertions, 0 deletions