diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-05-28 05:58:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-04 15:23:35 -0300 |
commit | e94c32818d865b620c9bbd2656ab3199259ef9ec (patch) | |
tree | 13230e0861b1dd3df3e060d97169d92dc396032d /include/media/cec-notifier.h | |
parent | 9177e51d1434076a91f9bfb693deae8b955d6d57 (diff) | |
download | linux-e94c32818d865b620c9bbd2656ab3199259ef9ec.tar.bz2 |
[media] cec: rename MEDIA_CEC_NOTIFIER to CEC_NOTIFIER
This config option is strictly speaking independent of the
media subsystem since it can be used by drm as well.
Besides, it looks odd when drivers select CEC_CORE and
MEDIA_CEC_NOTIFIER, that's inconsistent naming.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/cec-notifier.h')
-rw-r--r-- | include/media/cec-notifier.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/cec-notifier.h b/include/media/cec-notifier.h index eb50ce54b759..413335c8cb52 100644 --- a/include/media/cec-notifier.h +++ b/include/media/cec-notifier.h @@ -29,7 +29,7 @@ struct edid; struct cec_adapter; struct cec_notifier; -#ifdef CONFIG_MEDIA_CEC_NOTIFIER +#if IS_REACHABLE(CONFIG_CEC_CORE) && IS_ENABLED(CONFIG_CEC_NOTIFIER) /** * cec_notifier_get - find or create a new cec_notifier for the given device. |