From patchwork Thu Jan 8 18:02:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kbuild test robot X-Patchwork-Id: 426773 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 793F21400B7 for ; Fri, 9 Jan 2015 05:03:02 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757081AbbAHSCg (ORCPT ); Thu, 8 Jan 2015 13:02:36 -0500 Received: from mga09.intel.com ([134.134.136.24]:62723 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756051AbbAHSCf (ORCPT ); Thu, 8 Jan 2015 13:02:35 -0500 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 08 Jan 2015 09:59:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,691,1406617200"; d="scan'208";a="509438717" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 08 Jan 2015 09:56:16 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Y9HPH-0000bh-Ey; Fri, 09 Jan 2015 02:02:03 +0800 Date: Fri, 9 Jan 2015 02:02:00 +0800 From: kbuild test robot To: Wolfram Sang Cc: kbuild-all@01.org, Octavian Purdila , Lee Jones , Johan Hovold , Laurentiu Palcu , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH wsa] i2c: dln2: dln2_i2c_quirks can be static Message-ID: <20150108180200.GA130854@lkp-sb04> References: <201501090243.rmSyDkOe%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201501090243.rmSyDkOe%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org drivers/i2c/busses/i2c-dln2.c:184:27: sparse: symbol 'dln2_i2c_quirks' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- i2c-dln2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/i2c/busses/i2c-dln2.c b/drivers/i2c/busses/i2c-dln2.c index 3e47811..b6f9ba7 100644 --- a/drivers/i2c/busses/i2c-dln2.c +++ b/drivers/i2c/busses/i2c-dln2.c @@ -181,7 +181,7 @@ static const struct i2c_algorithm dln2_i2c_usb_algorithm = { .functionality = dln2_i2c_func, }; -struct i2c_adapter_quirks dln2_i2c_quirks = { +static struct i2c_adapter_quirks dln2_i2c_quirks = { .max_read_len = DLN2_I2C_MAX_XFER_SIZE, .max_write_len = DLN2_I2C_MAX_XFER_SIZE, };