Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1044612rwi; Thu, 27 Oct 2022 10:25:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5+I6pAgFbgaagyyysrBXgw6cDe+58vZ25RnMGZje73xmnvI7Ej9nNESLn/1CLy2p2Kzb7p X-Received: by 2002:aa7:9533:0:b0:56c:8c22:6e45 with SMTP id c19-20020aa79533000000b0056c8c226e45mr5439013pfp.84.1666891545778; Thu, 27 Oct 2022 10:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666891545; cv=none; d=google.com; s=arc-20160816; b=xOI9B8bDCsMOOkhZNGZKVAUmmpCLfeJqj1QqOBKtFW+tySGG61LWwGvuZRP7snCgl1 KXBvFUGcC3OgQhrKzb/Vr/VJMUaE2ZudHVgWayWXMyR/aAVM6oaT56s2evHzdIOBUpN1 S13xwHuzPLsy4UJPjCmLW1goPwYN3GCzQiicaDCG2GgiJCvlhpAtsFlFEwEss2N9fxo6 cRU864djSY59cdca5rvWJG9rFxVJGc3JPLDE4NtOx+1NYUMFOcfh/GSzYdydJ/NI8+Kf 60tT2oBom99QJkoCs0vp+pRDFeRvBhHwr5cGwvIo1bD/h/t8YAKjqTsZVRpD8cp4+DRy GZCA== 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:dkim-signature; bh=87i5Q/0uCLplFlxSa2RqpYeR/VGW/CdY0QMvOH7duJY=; b=efjM+wD7TE/M9qxoNYSgHDgUNrE3JdaoSwq7/0rwl7lZQVY//epzivhyeHsoSpkY5x m/5gdtMJa3FY8RRa1yJiXaoB3WZH1OSgeBSmVuVebxFY2AbOR++XsKOhEBKJmRrUoYKh Cl+tHwThxIeXqvLR4awAdRMwihs6eKFeEBJba75IhUaUCILnOUohH6lpUYZM0vBC5pOT s2zvjKZUkosNkvUOZQvv94MFGq26mBgVEr0pu7R2gNY6b0cTfYPH5R8WwEFaBKd1UtWP cLdqCH0M9NI5tGba9czzFu8b9lbgRrrZDGPc52Yzg/X4Xj+tcaLuiT6xCAMI3AmRTUsy ZMlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=W9WOcfB7; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t191-20020a6381c8000000b0045287c1978esi2140605pgd.402.2022.10.27.10.25.33; Thu, 27 Oct 2022 10:25:45 -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; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=W9WOcfB7; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235700AbiJ0RMg (ORCPT + 99 others); Thu, 27 Oct 2022 13:12:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235632AbiJ0RMe (ORCPT ); Thu, 27 Oct 2022 13:12:34 -0400 Received: from mail.3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9F12196080; Thu, 27 Oct 2022 10:12:32 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 7A95A1B40; Thu, 27 Oct 2022 19:12:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1666890750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=87i5Q/0uCLplFlxSa2RqpYeR/VGW/CdY0QMvOH7duJY=; b=W9WOcfB74iGgKJf6WhT4vGsWSPMYYbvY2mcQ1JEPI0HpejFi1C1NM0+jL8UGfAqJE0MOtn umhC70yTv8xGHjKF83XBM6mej/u5qpZ5Z5ZpHat+f+rgRMLB5yN0mS97+icNP2l9CdoWWf Kbk9pWDUh2AFRAv+nIopArdBQ1RFQ0JAIjr+BF2wIGYy2B+GHzGI4V0lR3f/wxUbEKQsgg Jj0kmz8ov8uhFDhbnpqOd4IK8ZWmd2ib+byie4iFo6Z9aVe5DRpoY+wPH3xZi9LcJyUZG7 DsEhNb2UuXi6OvJ8hzRMjAnNzMgDdOT48KiOhIni1FCR+9GeZ2KLEmx+n05ptQ== From: Michael Walle To: Ajay Singh , Claudiu Beznea , Kalle Valo , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Walle , stable@vger.kernel.org Subject: [PATCH] wifi: wilc1000: sdio: fix module autoloading Date: Thu, 27 Oct 2022 19:12:21 +0200 Message-Id: <20221027171221.491937-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,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 There are no SDIO module aliases included in the driver, therefore, module autoloading isn't working. Add the proper MODULE_DEVICE_TABLE(). Cc: stable@vger.kernel.org Signed-off-by: Michael Walle --- drivers/net/wireless/microchip/wilc1000/sdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/microchip/wilc1000/sdio.c b/drivers/net/wireless/microchip/wilc1000/sdio.c index 7390f94cd4ca..a05bda7b9a3b 100644 --- a/drivers/net/wireless/microchip/wilc1000/sdio.c +++ b/drivers/net/wireless/microchip/wilc1000/sdio.c @@ -20,6 +20,7 @@ static const struct sdio_device_id wilc_sdio_ids[] = { { SDIO_DEVICE(SDIO_VENDOR_ID_MICROCHIP_WILC, SDIO_DEVICE_ID_MICROCHIP_WILC1000) }, { }, }; +MODULE_DEVICE_TABLE(sdio, wilc_sdio_ids); #define WILC_SDIO_BLOCK_SIZE 512 -- 2.30.2