Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4477995rwb; Tue, 6 Sep 2022 08:05:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Ds+TuiqO+IzgaXhzRaKx+szuaBngslzQY2IkGF5p5/90pTJwMMqPX8QVMItRJf7dpd3E/ X-Received: by 2002:a17:907:7f20:b0:73d:d54f:6571 with SMTP id qf32-20020a1709077f2000b0073dd54f6571mr38108682ejc.315.1662476720611; Tue, 06 Sep 2022 08:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662476720; cv=none; d=google.com; s=arc-20160816; b=FxEDVApYYICRjQ/6wYSXjS09PvqPT/QTwpvVzizgVduTNIM08H870IfbAsmj1CvaP/ V0kJnjXBRC1LHiuwTI6O8HtvpzeD1CVAkOefdADqil9mAZHhcjk2WkoK+Xf6MN5gxOuk t+FT8w2aZCg5scS7KxPY0GbbLlvqg4mGQSp6fO+31E4DTah4+NeUTvVrDh4xr9/Ituoq Jto6M/J/N7pCAR+Yk75ENdO7ejsbi/qbOVHrVBBnF3ZgkXNksayURQ37CKfLUXRsngLK Ml5r6dOLZS9KeNJQPfEv0znnqSzSNLe9mOG0KkKeWFEKe8s0BOcg+xZS+1qa+TnnM2aY HeTw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zHPMBMbWI5WGTK2C62AKmSV9LB62wz6vhtY8KmJKJvc=; b=EtWc6mgcZXS0GwI8M0PTSh/5FZWeb0CVKN6wIroHLawT5aufGMklzkap6QP93KG0mc iU9J6DRCtzfY+lhXxSN5GsowSJ27a9iouo53YGlDwqsNRrbaD/q/e21DMWXQiqnjT7EM CCaIIAYk+NFv0HSSO/uqT9Wrs8oNMwvur8QAl1onxwVvW4NMsatS73vGfMnbl+rZ8r7W VHgptXevQoJgG3kJPp8fYCqMBqynrlvWdWGRSWxXi5dI7w/zmzCqWZkE6T3GXjsA63M7 q0K4xIAKu8bmTWJHRfd9f8t6gVjcIk0st2niOnQcgUsu/mJKaZTvVRmXTaelvdZX4rdc qweA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jZWaPV7g; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fp32-20020a1709069e2000b00741795a8603si8434078ejc.196.2022.09.06.08.04.55; Tue, 06 Sep 2022 08:05:20 -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=@linuxfoundation.org header.s=korg header.b=jZWaPV7g; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240722AbiIFNfx (ORCPT + 99 others); Tue, 6 Sep 2022 09:35:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240584AbiIFNfE (ORCPT ); Tue, 6 Sep 2022 09:35:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A95D77EBF; Tue, 6 Sep 2022 06:33:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 16D1461546; Tue, 6 Sep 2022 13:33:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19F28C433D6; Tue, 6 Sep 2022 13:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662471218; bh=dSjNc2L2zqfyB1gDmLTYy0MO4j6+DWPjfsmjJ3Fx/ck=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jZWaPV7gZyCBn4LpQG+ZvzlZX69XJtoEImDxX89eBpZlxz+onD+31S4fU9ucCU16O MElA3BR4JltC8w5Wr9Ag4qLb2fgvxY+XkTpoJoNsLeoCBTQ8kIxXX51sx1nzH7AM/M ctGTB/WbsLyMxkgxEoclLkblLbkVIB7kHtnhpLfc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Peter Robinson , Javier Martinez Canillas , Dmitry Torokhov , Sasha Levin Subject: [PATCH 5.10 37/80] Input: rk805-pwrkey - fix module autoloading Date: Tue, 6 Sep 2022 15:30:34 +0200 Message-Id: <20220906132818.539694416@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220906132816.936069583@linuxfoundation.org> References: <20220906132816.936069583@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Peter Robinson [ Upstream commit 99077ad668ddd9b4823cc8ce3f3c7a3fc56f6fd9 ] Add the module alias so the rk805-pwrkey driver will autoload when built as a module. Fixes: 5a35b85c2d92 ("Input: add power key driver for Rockchip RK805 PMIC") Signed-off-by: Peter Robinson Reviewed-by: Javier Martinez Canillas Link: https://lore.kernel.org/r/20220612225437.3628788-1-pbrobinson@gmail.com Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- drivers/input/misc/rk805-pwrkey.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/misc/rk805-pwrkey.c b/drivers/input/misc/rk805-pwrkey.c index 3fb64dbda1a21..76873aa005b41 100644 --- a/drivers/input/misc/rk805-pwrkey.c +++ b/drivers/input/misc/rk805-pwrkey.c @@ -98,6 +98,7 @@ static struct platform_driver rk805_pwrkey_driver = { }; module_platform_driver(rk805_pwrkey_driver); +MODULE_ALIAS("platform:rk805-pwrkey"); MODULE_AUTHOR("Joseph Chen "); MODULE_DESCRIPTION("RK805 PMIC Power Key driver"); MODULE_LICENSE("GPL"); -- 2.35.1