From patchwork Mon Jan 11 17:00:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 8006961 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 166029F32E for ; Mon, 11 Jan 2016 17:00:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EF2CF20256 for ; Mon, 11 Jan 2016 17:00:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 169EC2012B for ; Mon, 11 Jan 2016 17:00:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933352AbcAKRAy (ORCPT ); Mon, 11 Jan 2016 12:00:54 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:46940 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932421AbcAKRAx (ORCPT ); Mon, 11 Jan 2016 12:00:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=EYHpzEgABNskT5Vdrer3f+YXEgZgqNmXWOGc538pM/s=; b=kbvA7PgzZIs9LualtVyE2rW5Wh hj38EewrXgHN26eBdwChrsfcmzP9cSR53pB3O9YzY73H1hUZUGyDPSk5Yqmq5NqgQX/CKni+zHt5V KbGa/17OZXI+V6OX7oL+L9zcNspFDJGz39E/ufK6C5FqxIRCWneWDZdAhb1RGom0nmKY=; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:52545 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.86) (envelope-from ) id 1aIfqD-001quI-6i; Mon, 11 Jan 2016 17:01:13 +0000 From: Guenter Roeck To: Kukjin Kim Cc: Krzysztof Kozlowski , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Linus Walleij Subject: [PATCH -next] arm: Select GPIO_GENERIC_PLATFORM for CRAGG_6410 Date: Mon, 11 Jan 2016 09:00:49 -0800 Message-Id: <1452531649-14940-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.1.4 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit 0f4630f3720e ("gpio: generic: factor into gpio_chip struct"), all users of struct bgpio_pdata depend on GPIO_GENERIC. This results in the following build error. arch/arm/mach-s3c64xx/mach-crag6410.c:270:3: warning: excess elements in struct initializer arch/arm/mach-s3c64xx/mach-crag6410.c:270:3: warning: (near initialization for '(anonymous)') arch/arm/mach-s3c64xx/mach-crag6410.c:271:2: error: invalid use of undefined type 'struct bgpio_pdata' Fixes: 0f4630f3720e ("gpio: generic: factor into gpio_chip struct") Cc: Linus Walleij Signed-off-by: Guenter Roeck --- I don't know if this is the correct way to fix this problem. If not, please consider this to be a bug report. arch/arm/mach-s3c64xx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig index 7c0c420c3016..98d2aa9393f1 100644 --- a/arch/arm/mach-s3c64xx/Kconfig +++ b/arch/arm/mach-s3c64xx/Kconfig @@ -310,6 +310,7 @@ config MACH_WLF_CRAGG_6410 depends on I2C=y select CPU_S3C6410 select LEDS_GPIO_REGISTER + select GPIO_GENERIC_PLATFORM select S3C64XX_DEV_SPI0 select S3C64XX_SETUP_FB_24BPP select S3C64XX_SETUP_I2C1