From: Jose Abreu <Jose.Abreu@synopsys.com>
To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Jose Abreu <Jose.Abreu@synopsys.com>,
Carlos Palminha <CARLOS.PALMINHA@synopsys.com>,
Hans Verkuil <hans.verkuil@cisco.com>
Subject: [PATCH v8 1/5] [media] cec.h: Add stub function for cec_register_cec_notifier()
Date: Mon, 10 Jul 2017 16:46:51 +0100 [thread overview]
Message-ID: <bcf671fd7de56db2a224394e21766eae01d0ad02.1499701282.git.joabreu@synopsys.com> (raw)
In-Reply-To: <cover.1499701281.git.joabreu@synopsys.com>
In-Reply-To: <cover.1499701281.git.joabreu@synopsys.com>
Add a new stub function for cec_register_cec_notifier() so that
we can still call this function when CONFIG_CEC_NOTIFIER and
CONFIG_CEC_CORE are not set.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Carlos Palminha <palminha@synopsys.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
---
include/media/cec.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/media/cec.h b/include/media/cec.h
index 56643b2..8357f60 100644
--- a/include/media/cec.h
+++ b/include/media/cec.h
@@ -365,6 +365,14 @@ static inline int cec_phys_addr_validate(u16 phys_addr, u16 *parent, u16 *port)
return 0;
}
+#ifndef CONFIG_CEC_NOTIFIER
+struct cec_notifier;
+static inline void cec_register_cec_notifier(struct cec_adapter *adap,
+ struct cec_notifier *notifier)
+{
+}
+#endif
+
#endif
/**
--
1.9.1
next prev parent reply other threads:[~2017-07-10 15:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-10 15:46 [PATCH v8 0/5] Synopsys Designware HDMI Video Capture Controller + PHY Jose Abreu
2017-07-10 15:46 ` Jose Abreu [this message]
2017-07-13 7:01 ` [PATCH v8 1/5] [media] cec.h: Add stub function for cec_register_cec_notifier() Hans Verkuil
2017-07-10 15:46 ` [PATCH v8 2/5] dt-bindings: media: Document Synopsys Designware HDMI RX Jose Abreu
2017-07-14 14:48 ` Rob Herring
2017-07-10 15:46 ` [PATCH v8 3/5] MAINTAINERS: Add entry for Synopsys Designware HDMI drivers Jose Abreu
2017-07-10 15:46 ` [PATCH v8 4/5] [media] platform: Add Synopsys Designware HDMI RX PHY e405 Driver Jose Abreu
2017-07-10 15:46 ` [PATCH v8 5/5] [media] platform: Add Synopsys Designware HDMI RX Controller Driver Jose Abreu
2017-07-16 5:23 ` kbuild test robot
2017-09-22 12:53 ` [PATCH v8 0/5] Synopsys Designware HDMI Video Capture Controller + PHY Hans Verkuil
2017-11-27 12:05 ` Hans Verkuil
2017-11-27 14:18 ` Jose Abreu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bcf671fd7de56db2a224394e21766eae01d0ad02.1499701282.git.joabreu@synopsys.com \
--to=jose.abreu@synopsys.com \
--cc=CARLOS.PALMINHA@synopsys.com \
--cc=hans.verkuil@cisco.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®