From patchwork Wed Jun 19 15:50:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2750231 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CC5169F96B for ; Wed, 19 Jun 2013 15:51:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C163F2040F for ; Wed, 19 Jun 2013 15:51:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 37E3F20412 for ; Wed, 19 Jun 2013 15:51:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934694Ab3FSPvN (ORCPT ); Wed, 19 Jun 2013 11:51:13 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:60917 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934645Ab3FSPvN (ORCPT ); Wed, 19 Jun 2013 11:51:13 -0400 Received: from klappe2.localnet (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LrbZ7-1UACTI2dtF-013q6E; Wed, 19 Jun 2013 17:50:46 +0200 From: Arnd Bergmann To: Laurent Pinchart Subject: [PATCH] gpio: rcar: fix gpio_rcar_of_table Date: Wed, 19 Jun 2013 17:50:43 +0200 User-Agent: KMail/1.12.2 (Linux/3.8.0-22-generic; KDE/4.3.2; x86_64; ; ) Cc: Simon Horman , linux-arm-kernel@lists.infradead.org, "SH-Linux" MIME-Version: 1.0 Message-Id: <201306191750.43755.arnd@arndb.de> X-Provags-ID: V02:K0:MUNo2ULgK4D5YwuEbF1XrVAlsC1Be1l0BZUMDBB2xeg J1liU/1SPVILp2Sm0HQG4YISMFXTeGLWQpOm+sDkSuWcZDzW8C Wt+5mCLTJhRMAn+ftfRNaix+LJm1C7VpdA1S+2Qhic1fOY4F7u rBF4ZzVog0JLJtljXkOqmHBse9oXzp5EljLv2cmn+bwXKhYQFF B4d+2bOrsiKMFXwpTl6YSW+9FTxoMnSBwzujtssXeF+SPms3GL sf2X/45/jPL2Jr3ROEdmm/ij6xBg2m4usAa4nqLT9GP78kY82m 1jS95YmGBpKkj5kDWi8DAsnAd2yPxIU4NAp8Wub65dTlAyOqhJ Rf7dX3WNHoJjLhWh9R00= Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 The device table needs to be terminated with an empty element. Signed-off-by: Arnd Bergmann Cc: Laurent Pinchart Cc: Simon Horman Acked-by: Laurent Pinchart --- I've just added this patch on top of the arm-soc next/drivers branch that introduced the build warning. -- To unsubscribe from this list: send the line "unsubscribe linux-sh" 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/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index 5a693dd..f332753 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -437,6 +437,7 @@ static const struct of_device_id gpio_rcar_of_table[] = { { .compatible = "renesas,gpio-rcar", }, + { }, }; MODULE_DEVICE_TABLE(of, gpio_rcar_of_table);