diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-07-10 22:43:49 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-07-10 22:43:49 -0700 |
| commit | 8b6c6710741e100cf0ecf7237bcd08976f1f0a5e (patch) | |
| tree | 8124eae6eb95360efae0da0f2323bfd2fc23f538 /include/linux | |
| parent | a37cd25c9475f5074787a7288c1cf037aad23177 (diff) | |
| parent | c719e9e28e9c3fe9143da783178d28dd26af62e2 (diff) | |
Merge "include: qdsp6v2: avoid returning error code from stubbed function"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/qdsp6v2/audio_notifier.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/qdsp6v2/audio_notifier.h b/include/linux/qdsp6v2/audio_notifier.h index 3587b49a05c6..0d7f84613107 100644 --- a/include/linux/qdsp6v2/audio_notifier.h +++ b/include/linux/qdsp6v2/audio_notifier.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2016, 2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -92,7 +92,7 @@ int audio_notifier_deregister(char *client_name); static inline int audio_notifier_register(char *client_name, int domain, struct notifier_block *nb) { - return -ENODEV; + return 0; } static inline int audio_notifier_deregister(char *client_name) |
