Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4379278pxj; Wed, 12 May 2021 04:29:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw99tp732nWbtGDXH6X1jkY+Qr+O9BpGzL076XuvVqNTJAr7xE1lVCBLvBrLjMgd1TMathq X-Received: by 2002:a02:6d13:: with SMTP id m19mr22144460jac.65.1620818992235; Wed, 12 May 2021 04:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620818992; cv=none; d=google.com; s=arc-20160816; b=MOV4DftxwVe8G6yP7beMs/xBabkad4Yf+VI96C+Lm8XAO56EKvdiAX0SARGqxTEuUS 32IrRV1gpXMsaqGeGK8KAhCJ6GgjFh9CVNtFG/cs7WIZYLBnGkdvbywfmuGX5Vm+VO+q QecFYdUai/9NWcbu399z4AkubDrc5f0dAJ9UwVw+j8U8A7wgfCGKsP4y/VzjdPfeKqJ5 mChju9b6w5SnTVzZhZculZ9rhNwz1BJYJ6oPcHTv0HuMd00aPCYXJaHX6QQvgz0AeaPi NfouQtGnuA5kEOBD4LeFKb1ByKESEBYoaFkFtq6TuamG8KjYvn/q0cjR1L423hkZcAC9 ec4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oYW19CtIYX5b303IOQcUpayuvfixsQxy2ywXap3Gdw8=; b=OTwdQY1ZGnlTxPYxOza6RafnijvtBDDBqS5iX7UZY6KMOqq8znNoyWHGfXFozEIMtp cQSZKyrUkiggT6cB6E8zx4w2RV5zU99xam3otC3gFs21duNFTgb/dFp5yTAmp0GjEoBw gIQoiWO0FKt280PFozxjxC5MR0kzSEIn0fFdbUbEh5sefhnKKsJxJMPQUhx1BUW80Qxn iMTo+/K5nzLiTCUTlbHjtkvhsjuVjX8sP61TcwBJP9nhI5cnyFlSNXR5U0yH5ROXEd9f 1QCRHzygxNPkXW6gOOrPLqyptY3zWNmgbVzYZidKNLW0KbB1ugexpvFnmNaAVtDtCjyq Zu2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Wj0OwZiH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o8si22426173ilu.133.2021.05.12.04.29.40; Wed, 12 May 2021 04:29:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Wj0OwZiH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230236AbhELLaJ (ORCPT + 99 others); Wed, 12 May 2021 07:30:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbhELLaI (ORCPT ); Wed, 12 May 2021 07:30:08 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E64BC06174A for ; Wed, 12 May 2021 04:29:01 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id y2so30224659ybq.13 for ; Wed, 12 May 2021 04:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oYW19CtIYX5b303IOQcUpayuvfixsQxy2ywXap3Gdw8=; b=Wj0OwZiHkM6iRX5HATAPY4QjiL19CWgBhNUCmTbESC8KXGVWxuOQ4faOLt9qDhMruz ryQu0gae6t1zldbjD7Avs4M7FFVelazppGMwNove7SVFlkI7zQbAviqGnxdOqRi10zZQ h3pZ3s04LdoMze7oFWPOIr/YD0AvFTgw4+JiREWY9XuIAtae62ZFO2QU8iEinc86GgYS gc4pfVGhcDxegiHbqaZMI0P5lAWdfQbwuIvYDz5cG3nD7mDnI6xMks8ajyorINLak/80 UzGKR5PPnbSHZRcHux+8Dwqo6vM9+jG65cpt6vCaOVKkkXWCfu4Isny2qWnIbbnOHAl3 ly/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oYW19CtIYX5b303IOQcUpayuvfixsQxy2ywXap3Gdw8=; b=mdT+cXcJqKhCdkbftY+bEE0HIEg2XP1vcdhcYfmOoGfH2kI2XRSFAVba5CO/RTegel fp5gtAI1Lya5rx06sFo37TOYARW7LJ0d2D+hqibe6ST6GiWT0NIxWleVvqZY3H4jIeie 2s+I99CdxCieYYsCf7QAx4RDgAmRjZy+jxsW3niwoJW6i03cTCz8zaGQJwn5UWl4N6yG km3anHyw3bqZYgHjJVYNvUAM5J2p6mGOzSOEgIX6xbj16c3Aezxk9aFQIVsnJhqBIXt/ XMYoA2hPyI8XEitjLye8VXKDeWHdHjeTtQFrJ8yhRujzKnwDbFOSzu0wbLsou0A7aokr BWDw== X-Gm-Message-State: AOAM532iWxVPqGSK04e/htnugCfUGJK2HMY/LB+9bSAmqvSxelWdz7id zmTbDy7tOk2WvQNpMgDKAJA1QuBx9FbzyBUozoWXEVhL3iU= X-Received: by 2002:a25:cb96:: with SMTP id b144mr41691498ybg.312.1620818940410; Wed, 12 May 2021 04:29:00 -0700 (PDT) MIME-Version: 1.0 References: <1620789467-15227-1-git-send-email-zou_wei@huawei.com> In-Reply-To: <1620789467-15227-1-git-send-email-zou_wei@huawei.com> From: Bartosz Golaszewski Date: Wed, 12 May 2021 13:28:49 +0200 Message-ID: Subject: Re: [PATCH -next] gpio: cadence: Add missing MODULE_DEVICE_TABLE To: Zou Wei Cc: Linus Walleij , linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 12, 2021 at 5:01 AM Zou Wei wrote: > > This patch adds missing MODULE_DEVICE_TABLE definition which generates > correct modalias for automatic loading of this driver when it is built > as an external module. > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- > drivers/gpio/gpio-cadence.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpio/gpio-cadence.c b/drivers/gpio/gpio-cadence.c > index a4d3239..4ab3fcd 100644 > --- a/drivers/gpio/gpio-cadence.c > +++ b/drivers/gpio/gpio-cadence.c > @@ -278,6 +278,7 @@ static const struct of_device_id cdns_of_ids[] = { > { .compatible = "cdns,gpio-r1p02" }, > { /* sentinel */ }, > }; > +MODULE_DEVICE_TABLE(of, cdns_of_ids); > > static struct platform_driver cdns_gpio_driver = { > .driver = { > -- > 2.6.2 > The tag should be just regular [PATCH] as this driver has been upstream for a long time. Applied for fixes, thanks! Bartosz