Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757007Ab2KHVPN (ORCPT ); Thu, 8 Nov 2012 16:15:13 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:33003 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756670Ab2KHVPL (ORCPT ); Thu, 8 Nov 2012 16:15:11 -0500 MIME-Version: 1.0 In-Reply-To: <20121107045059.GA12752@dev.danweeks.net> References: <20121107045059.GA12752@dev.danweeks.net> Date: Thu, 8 Nov 2012 22:15:10 +0100 Message-ID: Subject: Re: [PATCHv2] gpio-mcp23s08: Build I2C support even when CONFIG_I2C=m From: Linus Walleij To: "Daniel M. Weeks" Cc: Grant Likely , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 18 On Wed, Nov 7, 2012 at 5:51 AM, Daniel M. Weeks wrote: > The driver has both SPI and I2C pieces. The appropriate pieces are built based > on whether SPI and/or I2C is/are enabled. However, it was only checking if I2C > was built-in, never if it was built as a module. This patch checks for either > since building both this driver and I2C as modules is possible. > > Signed-off-by: Daniel M. Weeks Thanks, patch merged to my fixes branch. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/