Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp803014rdb; Fri, 25 Aug 2023 01:13:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcyX4aqpwaY10Np4oSdM1CUBtxKVJiReSuDMkW4bnho7cThc2fv+67x9iDRJAksIUs6sgP X-Received: by 2002:a05:6a20:6a05:b0:13d:ee19:771f with SMTP id p5-20020a056a206a0500b0013dee19771fmr18092533pzk.8.1692951196954; Fri, 25 Aug 2023 01:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692951196; cv=none; d=google.com; s=arc-20160816; b=P5DXVzoxwfntx3PVPJNKOBd8WaRNuZ0u62y0TIqmKJbXL0zAkg1xzBAQyK7Sg2pSmo mQ2sqcIprDqBuG7z2muqG6NcOnWdyFzbw5i4gFHn2VZdgzW8VGdlsCGZDzAQhHPTk7Qj k82UsyBfAJX/u2ejyAQhbeUTVA7I3ryw8V3pEJe8VNnmpKSjLLviKAzuaHXK2mG7Nt0S xg1NPamhEKmZV5/in3aN2+Y7CrqmOBc2yyvXSd6j3luTa/J4xpfjwurcGzZPfR/Cy5zZ 5xpqVQYPA3LeynQYWBIiAsyiuwTH+ugo2pV/oMh00nOSy/82NnJUAjgDYPIX3iG6T7K1 jmwQ== 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:authenticated-by; bh=eAJ6LURX6TSft10WcpefMFIG9NVtl0eRB0RhG3zmrM8=; fh=myP1GRW8vXozDtyd/wZpnQrheIk+6DxhkPbtCRB8ZZw=; b=Q3SJcCKqV+RO8Rku0nUQF2Y5hGOQegLoIKC2yC9wyE9doMxfhs+jNRcKhxCRNyWbVN rGyMZiv2dlwBYKBovKjh71xGD5mvbOgc8q+uLgz4JZtKEHLUqKVgxhZxGleJenS2GXf4 gNheVywB/dZQBYKUq39e0nekufDQ5M3h6ME+YdzfJCqgLzSsEBqdQmEPmAj5ZsIO0bV8 TH4v5ufsT5/svksRGccbmlc3LHh9NSLMPL29pXQkPRwLiAe/NKzdtEefIF/8wpfxy5rx AIYDmF3tuFGAB77gkwzZqXxXAC7LfEsm9QiWadjgxblmYTt6RZ81XWlVcWQlfHs1rcso yqig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s17-20020a639251000000b00565f3ec3feasi1202701pgn.177.2023.08.25.01.13.04; Fri, 25 Aug 2023 01:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233074AbjHYGZM (ORCPT + 51 others); Fri, 25 Aug 2023 02:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234315AbjHYGZF (ORCPT ); Fri, 25 Aug 2023 02:25:05 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F09851BDB for ; Thu, 24 Aug 2023 23:24:58 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 37P6OPSU0023129, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 37P6OPSU0023129 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 25 Aug 2023 14:24:25 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Fri, 25 Aug 2023 14:24:48 +0800 Received: from [127.0.1.1] (172.21.69.188) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 25 Aug 2023 14:24:47 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH] wifi: rtw88: fix typo rtw8822cu_probe Date: Fri, 25 Aug 2023 14:24:04 +0800 Message-ID: <20230825062404.50813-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.21.69.188] X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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-wireless@vger.kernel.org From: Po-Hao Huang The probe function of 8822cu is misplaced to 8822bu, so we fix it. Fixes: 07cef03b8d44 ("wifi: rtw88: Add rtw8822cu chipset support") Signed-off-by: Po-Hao Huang Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw88/rtw8822cu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c index af28ca09d41f..157d5102a4b1 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c @@ -25,7 +25,7 @@ static const struct usb_device_id rtw_8822cu_id_table[] = { }; MODULE_DEVICE_TABLE(usb, rtw_8822cu_id_table); -static int rtw8822bu_probe(struct usb_interface *intf, +static int rtw8822cu_probe(struct usb_interface *intf, const struct usb_device_id *id) { return rtw_usb_probe(intf, id); @@ -34,7 +34,7 @@ static int rtw8822bu_probe(struct usb_interface *intf, static struct usb_driver rtw_8822cu_driver = { .name = "rtw_8822cu", .id_table = rtw_8822cu_id_table, - .probe = rtw8822bu_probe, + .probe = rtw8822cu_probe, .disconnect = rtw_usb_disconnect, }; module_usb_driver(rtw_8822cu_driver); -- 2.25.1