diff options
| author | Neil Armstrong <[email protected]> | 2018-04-12 10:03:19 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-04-17 17:45:08 -0400 |
| commit | 1dd181ff2b3009405d12ad0b3782176490da2446 (patch) | |
| tree | 30ba9db2758c0cd773d8eedca6bc4db516433b53 /include/reset.h | |
| parent | bbac9222dcf2a4c233269e67ea38ddfb3536d85b (diff) | |
reset: fix bulk API when DM_RESET is disabled
In the commit "reset: Add get/assert/deassert/release for bulk of reset signals"
the disabled reset_release_bulk() and reset_get_bulk() used the wrong
struct clk_bulk instead of struct reset_ctl_bulk.
Fixes: 0c28233903b5 ("reset: Add get/assert/deassert/release for bulk of reset signals")
Reported-by: Jean-Jacques Hiblot <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/reset.h')
| -rw-r--r-- | include/reset.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/reset.h b/include/reset.h index d38f1765ec5..ae247ceb4fb 100644 --- a/include/reset.h +++ b/include/reset.h @@ -243,7 +243,8 @@ static inline int reset_get_by_index(struct udevice *dev, int index, return -ENOTSUPP; } -static inline int reset_get_bulk(struct udevice *dev, struct clk_bulk *bulk) +static inline int reset_get_bulk(struct udevice *dev, + struct reset_ctl_bulk *bulk) { return -ENOTSUPP; } @@ -284,7 +285,7 @@ static inline int reset_release_all(struct reset_ctl *reset_ctl, int count) return 0; } -static inline int reset_release_bulk(struct clk_bulk *bulk) +static inline int reset_release_bulk(struct reset_ctl_bulk *bulk) { return 0; } |
