Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1615009pxb; Mon, 11 Oct 2021 09:31:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfsXmf7bycCQyZ2mbjw8YiWd4FFyCeh15FDym42DbK4Uq1aiwEERASsFWYKQ6Jokdppjdu X-Received: by 2002:a50:c31a:: with SMTP id a26mr42555026edb.193.1633969909091; Mon, 11 Oct 2021 09:31:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969909; cv=none; d=google.com; s=arc-20160816; b=uqz294SoM8R1cxpZIBJsX+AjLoarioSAjcy/yxp4hJtyljCU2jRXWgsWCffA2UH8/y L3XspHxBHIpHv9qbh6LDENUqcP+qs/rY9x7XHY0OyEr+2Auy7s1MbixFsyK0QBYwiqyu 175UtptWKHG5nQk5I6GDwUDJr3rS3fAmpDFvzoCd7zTIaQQKt6Bp8SrV14UUB48elsdW OlO+ZZUnsbtH49mYuhNkamxnlp7wjUuGsdtmWOVf6Ylehm7koPof3s8ZqSF2huhMMatl FA7TcTSiQywfFGtN7jK984M3ICnagxm/UQwpWbBeNOGqwa8kMp0ZEU8lcTDGZU5X7UGM T9sg== 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=7SWgD99/xmrThzJf5DZfbbuPrpyTdE+sM3hDuQG/vnA=; b=sl9ZCdYqCdGDqPI393bCejHVA/Vxn4S6Hpl84SAipDSZvFb3d8B3MTUYprnnqPeCZU jeF2hH8jrV+ut2E2B8wOnkg68nEPjz0T0UeURWaNBrCFwpLctodT6HjEDj7xhnSYKYFY xC8qjWrW9APe0AUN2ONzTZcKP+tHwfDO4vrxRSceKfQkw8VVXT1Z32hnfSYsaSrxqCOi Te9uXKRDO9SFqz4PSUZdh3wmFVCiG7T5m6vut22pUqeLsMDEmyVlSIpZOR8PhK68nN// aEKrCOG3S2f83RJpZKvhPJ5E4lYjjucdt7Dktuy87hWRiCW4guELwgroZfHh0CbH2AJG CVew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i3IRsyZI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si16436108edm.21.2021.10.11.09.31.24; Mon, 11 Oct 2021 09:31:49 -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=@linuxfoundation.org header.s=korg header.b=i3IRsyZI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238167AbhJKN5W (ORCPT + 99 others); Mon, 11 Oct 2021 09:57:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:41126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238029AbhJKNzT (ORCPT ); Mon, 11 Oct 2021 09:55:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3FB066108F; Mon, 11 Oct 2021 13:52:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633960376; bh=hdWN4Y0P7ndQVUrOK+xWfPfCVQNEs8om5k8eYpZMd/0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i3IRsyZI5Wbv/8XI9/LTGWMZKrbzltek8STTeJ07M3QAEOWIvK62kl/D9OW5S2zWX wcWwdF4bavOp5VSkgUmSDoy/QB17jmxRkMnCIvERePIXnqzmL1CwaV0+cAhYbUffWP OaJnpCH++fjC5xLeSRB5dE5mFiRhBbYAUGsZ1pWk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andy Shevchenko , "David S. Miller" , Sasha Levin Subject: [PATCH 5.10 43/83] ptp_pch: Load module automatically if ID matches Date: Mon, 11 Oct 2021 15:46:03 +0200 Message-Id: <20211011134509.887622922@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134508.362906295@linuxfoundation.org> References: <20211011134508.362906295@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andy Shevchenko [ Upstream commit 7cd8b1542a7ba0720c5a0a85ed414a122015228b ] The driver can't be loaded automatically because it misses module alias to be provided. Add corresponding MODULE_DEVICE_TABLE() call to the driver. Fixes: 863d08ece9bf ("supports eg20t ptp clock") Signed-off-by: Andy Shevchenko Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/ptp/ptp_pch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index ce10ecd41ba0..9492ed09518f 100644 --- a/drivers/ptp/ptp_pch.c +++ b/drivers/ptp/ptp_pch.c @@ -651,6 +651,7 @@ static const struct pci_device_id pch_ieee1588_pcidev_id[] = { }, {0} }; +MODULE_DEVICE_TABLE(pci, pch_ieee1588_pcidev_id); static SIMPLE_DEV_PM_OPS(pch_pm_ops, pch_suspend, pch_resume); -- 2.33.0