{"id":807383,"url":"http://patchwork.ozlabs.org/api/patches/807383/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-i2c/patch/550ed5bf75d653e227d09266670caf2a058b0473.1504061716.git.baolin.wang@spreadtrum.com/","project":{"id":35,"url":"http://patchwork.ozlabs.org/api/projects/35/?format=json","name":"Linux I2C development","link_name":"linux-i2c","list_id":"linux-i2c.vger.kernel.org","list_email":"linux-i2c@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<550ed5bf75d653e227d09266670caf2a058b0473.1504061716.git.baolin.wang@spreadtrum.com>","list_archive_url":null,"date":"2017-08-30T03:05:47","name":"i2c: sprd: Fix undefined reference errors","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"5551988df6c49a435b108249c412e1e3d253fd3c","submitter":{"id":71631,"url":"http://patchwork.ozlabs.org/api/people/71631/?format=json","name":"Baolin Wang","email":"baolin.wang@spreadtrum.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-i2c/patch/550ed5bf75d653e227d09266670caf2a058b0473.1504061716.git.baolin.wang@spreadtrum.com/mbox/","series":[{"id":519,"url":"http://patchwork.ozlabs.org/api/series/519/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-i2c/list/?series=519","date":"2017-08-30T03:05:47","name":"i2c: sprd: Fix undefined reference errors","version":1,"mbox":"http://patchwork.ozlabs.org/series/519/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/807383/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807383/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-i2c-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhrGh3VZtz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 13:15:08 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751329AbdH3DPH (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 29 Aug 2017 23:15:07 -0400","from sci-ig2.spreadtrum.com ([222.66.158.135]:32734 \"EHLO\n\tSHSQR01.spreadtrum.com\" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751318AbdH3DPG (ORCPT\n\t<rfc822; linux-i2c@vger.kernel.org>); Tue, 29 Aug 2017 23:15:06 -0400","from ig2.spreadtrum.com (shmbx02.spreadtrum.com [10.0.1.204])\n\tby SHSQR01.spreadtrum.com with ESMTP id v7U3Anti014743\n\t(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\n\tWed, 30 Aug 2017 11:10:49 +0800 (CST)\n\t(envelope-from Orson.Zhai@spreadtrum.com)","from SHCAS02.spreadtrum.com (10.0.1.202) by SHMBX02.spreadtrum.com\n\t(10.0.1.204) with Microsoft SMTP Server (TLS) id 15.0.847.32;\n\tWed, 30 Aug 2017 11:10:48 +0800","from localhost (10.0.73.143) by SHCAS02.spreadtrum.com (10.0.1.250)\n\twith Microsoft SMTP Server (TLS) id 15.0.847.32 via Frontend\n\tTransport; Wed, 30 Aug 2017 11:10:48 +0800"],"From":"Baolin Wang <baolin.wang@spreadtrum.com>","To":"<wsa@the-dreams.de>","CC":"<andy.shevchenko@gmail.com>, <linux-i2c@vger.kernel.org>,\n\t<linux-kernel@vger.kernel.org>, <broonie@kernel.org>,\n\t<baolin.wang@linaro.org>, <baolin.wang@spreadtrum.com>","Subject":"[PATCH] i2c: sprd: Fix undefined reference errors","Date":"Wed, 30 Aug 2017 11:05:47 +0800","Message-ID":"<550ed5bf75d653e227d09266670caf2a058b0473.1504061716.git.baolin.wang@spreadtrum.com>","X-Mailer":"git-send-email 2.12.2","MIME-Version":"1.0","Content-Type":"text/plain","X-MAIL":"SHSQR01.spreadtrum.com v7U3Anti014743","Sender":"linux-i2c-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-i2c.vger.kernel.org>","X-Mailing-List":"linux-i2c@vger.kernel.org"},"content":"Since the i2c driver of Spreadtrum can not be build as one module, thus\nit should depend on CONFIG_I2C is build in.\n\nSigned-off-by: Baolin Wang <baolin.wang@spreadtrum.com>\n---\n drivers/i2c/busses/Kconfig |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig\nindex 64729ac..71036c1 100644\n--- a/drivers/i2c/busses/Kconfig\n+++ b/drivers/i2c/busses/Kconfig\n@@ -902,7 +902,7 @@ config I2C_SIRF\n \n config I2C_SPRD\n \tbool \"Spreadtrum I2C interface\"\n-\tdepends on ARCH_SPRD\n+\tdepends on I2C=y && ARCH_SPRD\n \thelp\n \t  If you say yes to this option, support will be included for the\n \t  Spreadtrum I2C interface.\n","prefixes":[]}