From patchwork Mon Dec 4 12:36:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 10090159 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 56F0560329 for ; Mon, 4 Dec 2017 12:37:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 54CBC2906F for ; Mon, 4 Dec 2017 12:37:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4983029153; Mon, 4 Dec 2017 12:37:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E67052906F for ; Mon, 4 Dec 2017 12:37:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752166AbdLDMhS (ORCPT ); Mon, 4 Dec 2017 07:37:18 -0500 Received: from sauhun.de ([88.99.104.3]:44193 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752121AbdLDMhQ (ORCPT ); Mon, 4 Dec 2017 07:37:16 -0500 Received: from localhost (unknown [46.183.103.17]) by pokefinder.org (Postfix) with ESMTPSA id 61F682C646A; Mon, 4 Dec 2017 13:37:14 +0100 (CET) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Wolfram Sang , Phil Reid , Andy Shevchenko , Jarkko Nikula , Claudio Foellmi , Andrzej Hajda Subject: [PATCH 2/6] i2c: add identifier in declarations for i2c_bus_recovery Date: Mon, 4 Dec 2017 13:36:36 +0100 Message-Id: <20171204123640.3382-3-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171204123640.3382-1-wsa+renesas@sang-engineering.com> References: <20171204123640.3382-1-wsa+renesas@sang-engineering.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No reason to have them undefined, so let's add them. Cc: Phil Reid Cc: Andy Shevchenko Cc: Jarkko Nikula Cc: Claudio Foellmi Cc: Andrzej Hajda Signed-off-by: Wolfram Sang --- include/linux/i2c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/i2c.h b/include/linux/i2c.h index f8a9d81e911e52..8a020617b4e780 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -561,9 +561,9 @@ struct i2c_timings { struct i2c_bus_recovery_info { int (*recover_bus)(struct i2c_adapter *); - int (*get_scl)(struct i2c_adapter *); - void (*set_scl)(struct i2c_adapter *, int val); - int (*get_sda)(struct i2c_adapter *); + int (*get_scl)(struct i2c_adapter *adap); + void (*set_scl)(struct i2c_adapter *adap, int val); + int (*get_sda)(struct i2c_adapter *adap); void (*prepare_recovery)(struct i2c_adapter *); void (*unprepare_recovery)(struct i2c_adapter *);