From patchwork Tue Dec 10 15:37:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitor Soares X-Patchwork-Id: 11282841 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54D5914E3 for ; Tue, 10 Dec 2019 15:37:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 32C3C206D5 for ; Tue, 10 Dec 2019 15:37:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W96YodLz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="cinuiUHh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32C3C206D5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-i3c-bounces+linux-i3c=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=SPVfs3IgnTMq/ZoerOzM8qN5EgGchMt1dy7lneL/hkA=; b=W96YodLzg77TgE91NzXNXBRiA/ /6XvClfygLV45gBvbBkU5qxKQvCVLc3ADWzrNI/QeNO2rJt9zv42cvvMtuS958yNtv/J8JXy/a00r ysVUxYukKc0fVdoDezwg8wmmJgQnBZF5YQNbGVy64CIyL5F0+vrDxOFZj39xH5Ktgi3v+OobQDr5Q 8LB3J6nHIqJE8d4F+kpzg7W0KzlBzOa4Foau2R82GPTI97bNiKdPldLwVZxAw7zShqqDdPjAVNLIv CrWtQNJO9oIBD4D721OqdzOH1dw5e3OWfAkXZ8nYn9VUXbkxhXhVyZxVrvMx7owi9Ef7/fgfw1wnq Nv//XPCQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ieha5-00044H-TI; Tue, 10 Dec 2019 15:37:45 +0000 Received: from sv2-smtprelay2.synopsys.com ([149.117.73.133] helo=smtprelay-out1.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ieha3-0003z7-88 for linux-i3c@lists.infradead.org; Tue, 10 Dec 2019 15:37:44 +0000 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id F41AB405D4; Tue, 10 Dec 2019 15:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1575992263; bh=9uIArk7W/VoQqStsEzOZbVA9gvJuUpov0r2L92iFq/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=cinuiUHh9Si9BaJO/IpfKrVF3he0bzfZTFf9miLGhgaswE8kCAQDZhjH2ESDy+Jca ek57K74C43TL6d7dM/R4NEHeRiI58s5nRi4GuGOdKMMq+Q7vtuVf7l16DXZYtz6ZjE 1StsAF5/dPiA8Noky+se3axFdxcn1nBLMxaG053XJgqGtKDpVc6L6cuFpkQJsczVC7 4IXoPurEDTOJ9jrIrSfLd0N6XXN+7dCsJb1m2thsIU5m7lxXvmg8KtR/BhzrWpzDI3 orTONP0URW4+P0GIkiUmsXAp1hfBo0qwOg2VDS90obk+CSG8g1ZiTl+jy6xNLiwZSn 6Yo2hhYw93YoA== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 97B18A0086; Tue, 10 Dec 2019 15:37:36 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id 7C8FB3E2D3; Tue, 10 Dec 2019 16:37:36 +0100 (CET) From: Vitor Soares To: linux-kernel@vger.kernel.org, linux-i3c@lists.infradead.org Subject: [RFC 2/5] i3c: master: export i3c_bus_type symbol Date: Tue, 10 Dec 2019 16:37:30 +0100 Message-Id: <96507b6036bf834ca8ee086578b8616958a363be.1575977795.git.vitor.soares@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191210_073743_314387_06ACBF3E X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux I3C List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joao.Pinto@synopsys.com, arnd@arndb.de, wsa@the-dreams.de, gregkh@linuxfoundation.org, bbrezillon@kernel.org, Vitor Soares , broonie@kernel.org MIME-Version: 1.0 Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=patchwork.kernel.org@lists.infradead.org Export i3c_bus_type symbol so i3cdev can register a notifier chain for the i3c bus. Signed-off-by: Vitor Soares --- drivers/i3c/master.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index a1fb5f7..a9df276 100644 --- a/drivers/i3c/master.c +++ b/drivers/i3c/master.c @@ -321,6 +321,7 @@ struct bus_type i3c_bus_type = { .probe = i3c_device_probe, .remove = i3c_device_remove, }; +EXPORT_SYMBOL_GPL(i3c_bus_type); static enum i3c_addr_slot_status i3c_bus_get_addr_slot_status(struct i3c_bus *bus, u16 addr)