From patchwork Thu May 20 19:00:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443317 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253196jac; Thu, 20 May 2021 12:01:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/1+sFVWwWM7fFRl5M+XgloJww+cXhx2IMJEjSbV3JAwiMli29uHUao+DZvzWkSbPVNpiK X-Received: by 2002:aa7:dc17:: with SMTP id b23mr6456830edu.359.1621537301520; Thu, 20 May 2021 12:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537301; cv=none; d=google.com; s=arc-20160816; b=wzxTbzPpUOnEZTbOtAZfeuqdJ6pvb4MiUEQec1Zh0zXdNEMMmvstQO9oFwzRyzlV2E snaXhINo3cQPQO++AtYW70eIyh4KUiYzoHpeO2tEiLqxVE0rZGLl/f6XFZ3l2qb6sHPg byzf2xHMc+FOqGm8jlakIJJXBKbkE8Wz2WbK6RkIRYzwjEauVgqA9WWOlA2iuheihEpK BOBrcwPrAeJFwCUOR5RwXCcCj89Vnir7GNtjBIuYlq4XyJkKLkhQP+A8CVmaXyxWUDfP HAxbl6mpDX+OLNpelWqiL8RXqzrhHcRounD5/3VMbWbh1a/fjque4l90hKw3VLZrijdZ ewSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=d+Supy7KmEQ83hTeurSH+1rKDqsnDnmwRYZwGJPWBbaeCp0Nh9FhAfFha1j7RAGk+s UzjRaKX6ekqaql30sZy7231EzWZjMGDl0mq4fiTEPQDT6PoU5yEXnC33h+awmBHBgOYS ROB6WGHhJIJ6z8oeCFCWPEiru4nYtjq5vwVXCCpWq33fFCbH66REHVN84/aH9dLpEOfT vXAkjV3M7/SzBsN7boOIIpEe4BbRz9bgAiMwfQZpiUYwffR2ahrmlnVwB7MtZgmoB1pj d0T5aD1Qmf7aRCLNikuWVLF5Wb/pnD/LJxjW+kYe8ncgPXIFf84tM8bQNmRQh0dKALUH MgOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sO0DBvtC; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.41; Thu, 20 May 2021 12:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sO0DBvtC; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237386AbhETTC5 (ORCPT + 2 others); Thu, 20 May 2021 15:02:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236842AbhETTCn (ORCPT ); Thu, 20 May 2021 15:02:43 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A34BC06138D for ; Thu, 20 May 2021 12:01:17 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id v12so18713492wrq.6 for ; Thu, 20 May 2021 12:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=sO0DBvtCCl2hnSdKrXaHKipuFZz41jcJw70JtL7AiHUAM17ZESebKeTO6+kZGQEmfz 2XmzTuKV4hbiN2a+rnM8V8mAefJiQKxM03Q5KBNjCdboQPmQgBkvJop/ZtqjCGyWOvao YBChqvo+vZFYcwKHu+csr5GRAp2PjTWxLxaAK4I6Qk8X+bnB4hVpG9EahBJIbtP/0Zem h9pI/yZhLAXAhJG+gIJRATpsD2uEW/CPnSYA+EAf9b9+qenE+8s2xjTt9bOumAV2vkrV XRfkterbGrOaU/6vp4jaXFjcBe4jy6Ifb+tc6XWBNPpIuuJk+aREH+fvuwm+52KjVX1W IfPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=HHoEsIvram0L3lPt0TX2peeRGT5CVRIRHEpYmISO5RjExz/ObisR5IHUw7AVh8hJgb d0sNiIc7KoAF4KKX/m4kHxJf/HjD2PDpGEwW78ThrHJLG8NqDNKr/0xpVXM2jRchrO/p yr/8hmxemeHRG0Zj7dOJWvpqOFINqJvOtekcFExRAmEyN+KBhLj8p+1AFBXszdhdYPbw DAOwEHhbZwN+V6gEx+uBfH7822eR+46gwjfKH5Pg1IYYewUHnriAHrXdMuFO1X1o47yF cURfA+CkU2qS2CbAiLCOBd5q9+kYoPvJgtADt+ciN6H9eBLaVLJd6YksQRvXxHRs83Yc 4BOg== X-Gm-Message-State: AOAM531wrDQ3Nh8mki74jHU7y0mQvcz1WrTnMFo8JXDK/Cg+fsQxDvMR JSalesIW9F/jyeKEWx8zk1diDg== X-Received: by 2002:adf:e589:: with SMTP id l9mr5898739wrm.361.1621537275970; Thu, 20 May 2021 12:01:15 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:15 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michal Simek , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 06/16] i2c: busses: i2c-cadence: Fix incorrectly documented 'enum cdns_i2c_slave_mode' Date: Thu, 20 May 2021 20:00:55 +0100 Message-Id: <20210520190105.3772683-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-cadence.c:157: warning: expecting prototype for enum cdns_i2c_slave_mode. Prototype was for enum cdns_i2c_slave_state instead Cc: Michal Simek Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Michal Simek diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index c1bbc4caeb5c9..66aafa7d11234 100644 --- a/drivers/i2c/busses/i2c-cadence.c +++ b/drivers/i2c/busses/i2c-cadence.c @@ -144,7 +144,7 @@ enum cdns_i2c_mode { }; /** - * enum cdns_i2c_slave_mode - Slave state when I2C is operating in slave mode + * enum cdns_i2c_slave_state - Slave state when I2C is operating in slave mode * * @CDNS_I2C_SLAVE_STATE_IDLE: I2C slave idle * @CDNS_I2C_SLAVE_STATE_SEND: I2C slave sending data to master