From patchwork Sun Mar 19 12:41:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Apitzsch?= X-Patchwork-Id: 71767 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp707263wrt; Sun, 19 Mar 2023 05:46:03 -0700 (PDT) X-Google-Smtp-Source: AK7set/+D0gH/pGQYz5xHoW5mf3QJXnD/X72fO6DQ9SvDT0de4KJP8cT9TuvrL4lK79h9uQvByB/ X-Received: by 2002:a17:90b:1a86:b0:237:161d:f5ac with SMTP id ng6-20020a17090b1a8600b00237161df5acmr14721050pjb.36.1679229962948; Sun, 19 Mar 2023 05:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679229962; cv=none; d=google.com; s=arc-20160816; b=My6osONPSwVhmKPtNPpwXOZmXJe711fNT9p1edDkKjJhq/8X6f8io4X4RAWZ6Gg5T0 HxqkMgpvFkO7V2IsxlQpAkLx+F8xPqvsWyiCzvo8C97hDOpPvE2f+VQFZY/5S9DhrCAu Hh8qQ3rJCizSTYerAqee/i3DlFAtA80U5gzM7s34VxYKXRdZ2DZNOikP2a2zZKWDNSod NEezk15XcZdoz9S2imKJf7g6RW5o2I+ePnUaX84A8y77wpN0yjzSH6RwV4OrWYIvWPcQ xYG47dBD+s52C2/I/gv7PrsV5Nd3QJF10TkGlM/iyWR01JPAfV9VvIwUWMRB/+6k5prn PiqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=jZoOBmaIljxo+DWJKrUxcmxwJazV+Q0jMfg5iImq/rA=; b=jP0DpcJnzou6kRDfCa1wRO2ehvOsarSii8tpg/U9B2gRPz9HXi4MztLoBo+GIjPkkf wM/dUqHdO2qUOIl2zD1MGLBPOYBiuLSBoUCT7dPG9iECwfXamoPF0S8UQaIWPd8v8wea tghnvDyJ0DYKVP/LfxCIiAq+mZSH6wA+4p2j6HIwBDx67Hy06Rw9psCxhvcLatnib890 7dCN/sjMIJJJjqf7YVCUmIIqv09ZrFqzmhieGiAgLj2DOhcS4oGng7Ax0Ru3u6PAWcG+ gTZXVQ3lqOCr2J7DuXD7LLmRx1dXSWzKNInRqGG9pCpAxtZG7DcHNzw3dWBSXs2dXpP5 bOgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk4-20020a17090b4a0400b002342e691837si14346234pjb.21.2023.03.19.05.45.48; Sun, 19 Mar 2023 05:46:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229953AbjCSMoD (ORCPT + 99 others); Sun, 19 Mar 2023 08:44:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbjCSMoA (ORCPT ); Sun, 19 Mar 2023 08:44:00 -0400 X-Greylist: delayed 60 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 19 Mar 2023 05:43:59 PDT Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 341C81ACF8 for ; Sun, 19 Mar 2023 05:43:58 -0700 (PDT) Received: from [92.206.161.29] (helo=note-book.lan) by smtprelay02.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pdsND-0005RF-NT; Sun, 19 Mar 2023 13:42:55 +0100 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= To: Lee Jones , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Andr=C3=A9_Apitzsch?= Subject: [PATCH] mfd: arizona-i2c: add the missing device table IDs for of Date: Sun, 19 Mar 2023 13:41:53 +0100 Message-Id: <20230319124153.35294-1-git@apitzsch.eu> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760800237782660448?= X-GMAIL-MSGID: =?utf-8?q?1760800237782660448?= This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as a module. Signed-off-by: André Apitzsch Acked-by: Charles Keepax --- drivers/mfd/arizona-i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c index b2301586adbc..43e393c8608d 100644 --- a/drivers/mfd/arizona-i2c.c +++ b/drivers/mfd/arizona-i2c.c @@ -112,6 +112,7 @@ static const struct of_device_id arizona_i2c_of_match[] = { { .compatible = "wlf,wm1814", .data = (void *)WM1814 }, {}, }; +MODULE_DEVICE_TABLE(of, arizona_i2c_of_match); #endif static struct i2c_driver arizona_i2c_driver = {