|
@@ -86,6 +86,14 @@ void cec_notifier_register(struct cec_notifier *n,
|
|
|
*/
|
|
|
void cec_notifier_unregister(struct cec_notifier *n);
|
|
|
|
|
|
+/**
|
|
|
+ * cec_register_cec_notifier - register the notifier with the cec adapter.
|
|
|
+ * @adap: the CEC adapter
|
|
|
+ * @notifier: the CEC notifier
|
|
|
+ */
|
|
|
+void cec_register_cec_notifier(struct cec_adapter *adap,
|
|
|
+ struct cec_notifier *notifier);
|
|
|
+
|
|
|
#else
|
|
|
static inline struct cec_notifier *cec_notifier_get(struct device *dev)
|
|
|
{
|
|
@@ -116,6 +124,10 @@ static inline void cec_notifier_unregister(struct cec_notifier *n)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
+static inline void cec_register_cec_notifier(struct cec_adapter *adap,
|
|
|
+ struct cec_notifier *notifier)
|
|
|
+{
|
|
|
+}
|
|
|
#endif
|
|
|
|
|
|
#endif
|