From patchwork Wed Jul 6 13:25:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 645299 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 3rl1j81jRyz9sD9 for ; Wed, 6 Jul 2016 23:25:47 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=1AzCYUJ7; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753300AbcGFNZq (ORCPT ); Wed, 6 Jul 2016 09:25:46 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:34654 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751669AbcGFNZp (ORCPT ); Wed, 6 Jul 2016 09:25:45 -0400 Received: by mail-qk0-f195.google.com with SMTP id 82so1285202qko.1 for ; Wed, 06 Jul 2016 06:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=OXYmUnb000zXCrgRca38w55fnAXzEZMqg/FXEY6rM6E=; b=1AzCYUJ7pz6777n30IwVbGf+G8MJ3L6PfeMpBRSDP5x6LOFZHXe+j91B6F3AAdMUXJ uEnAv+joLxz5S6Bf4xq1KqmIcCn53M7dgxVHtdj21VHxCIMvywZnvskD1F9T2I5y+Ekc FzQu8RU2piXa6KU4dFt35RQBAq+zmNVX9X/ZrDUIOqlqYmThtqXuZ6CV7dGCfGxFSJFF aP37mgtTx/qUECv2ga/IKZFWgkzkD1buSyjwDDs2nlWQFRQCCBGINp8fqFll72cQHgC+ kVYl4diowj1Cv21s/UE3zk6RsmuCAM1va6cVjKb6VwshDIeIwafoYBIUlLo6nuGMVrvN wjAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OXYmUnb000zXCrgRca38w55fnAXzEZMqg/FXEY6rM6E=; b=PIPzeBBuRKZQ344pcEb3gG6J8TzpzkuCDLef5tc4QJqr/T+cl8KjKh7FguHoPRnsin xcQaoEvr4JUXkfx1uznDxLyO9vVOjhK9juGa+2oIzD69nSYTdnzwMCcY/0nz6OgxdDS6 /zCeTUZzdD/9yX5tqGuRFsqlKyvos/64EZvh/T6MDqG6oAtWHjylbwvLUgQsT77i7oHb Uy4/zn6zeZQTncUbLka/HaUA/tLXoldPq4ZKHtFssEEZDd40lR+Y5GRm61jDFJyfiHJb GvBwNjiTi1c7x9yCaY47T+YKOQX2FG2Vo7D1Msf9qLrRi7ztXQK22L/7HBJQPCvFKWlk t/uA== X-Gm-Message-State: ALyK8tLgf3+FknTVuudRWAU0zd9WSjfgwZeFYcbjll+AAFcnUuR2Kj7RqnOl1aJFM5RE7w== X-Received: by 10.55.124.132 with SMTP id x126mr30709438qkc.113.1467811544802; Wed, 06 Jul 2016 06:25:44 -0700 (PDT) Received: from localhost.localdomain ([187.180.187.113]) by smtp.gmail.com with ESMTPSA id n89sm3522287qte.38.2016.07.06.06.25.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Jul 2016 06:25:44 -0700 (PDT) From: Fabio Estevam To: linus.walleij@linaro.org Cc: paul.gortmaker@windriver.com, arnd@arndb.de, linux-gpio@vger.kernel.org, Fabio Estevam Subject: [PATCH] pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro Date: Wed, 6 Jul 2016 10:25:17 -0300 Message-Id: <1467811517-20187-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Commit e2756baa4217 ("pinctrl: imx21: make it explicitly non-modular") missed the removal of the MODULE_DEVICE_TABLE() macro causing the following build error: drivers/pinctrl/freescale/pinctrl-imx21.c:328:1: error: data definition has no type or storage class [-Werror] MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match); ,so remove the macro to fix this problem. Reported-by: Arnd Bergmann Signed-off-by: Fabio Estevam Acked-by: Arnd Bergmann --- drivers/pinctrl/freescale/pinctrl-imx21.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/freescale/pinctrl-imx21.c b/drivers/pinctrl/freescale/pinctrl-imx21.c index b9f9b3b..73e26bc 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx21.c +++ b/drivers/pinctrl/freescale/pinctrl-imx21.c @@ -325,7 +325,6 @@ static const struct of_device_id imx21_pinctrl_of_match[] = { { .compatible = "fsl,imx21-iomuxc", }, { } }; -MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match); static struct platform_driver imx21_pinctrl_driver = { .driver = {