Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4664058pxb; Thu, 14 Oct 2021 09:31:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyB0tflj8W91NNElwK6vZ84KcO3G0wSQ0s2XHgpyJKg3iTiHq7qJ9IO+8bR/xLfsKrlmSHY X-Received: by 2002:a17:90a:4a04:: with SMTP id e4mr7161851pjh.51.1634229080661; Thu, 14 Oct 2021 09:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634229080; cv=none; d=google.com; s=arc-20160816; b=tV8Wluw9MFkRZeCGKVzPoBYlnx0cszGg+WTMIYwl0bdsPGjLFWjEfhpFJ12DzUcy6h 1P+cZGmWgRaFNPMEiydlwp6x/zEtIb1pOvPB0rAejBq2gkNSJOh34aUbAWZgBYCX7EFW YBKFpfSvGb3qphibNnKKmi0++0G5LdiGHVgWz7yRpIrNhzwmVi6VNyLlf3rHn5bgV3lh RwE3wv749pj0raThstiovJ7CRjH083JgkUGpJ3I1SIHueMxXI4fEUkrEyxKI2Ml0ZN1f /1y+FWBBPetbskQKBUFSaZUCyLyafkrV3ky0ZA/mltu8TIBkz6MBSU3mIUELYIPLqfvW Rmpg== 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=VzvBxn449mfZ0aVI6b7XSAvVdbJYnrSfOTB0AWMfRVU=; b=Q62HJp2vjRpncPhWvnlCfzZvscTQWzshEgJWrLPS9Oys4DszpceBlnq2ianEB8Gaoj LGwiNxfVPPdXN+RkAlVEFF4j5MO92esxU2sUsSTJCiUU7c1FQsouagfeAz1gRhR1OBXR ZtH0x2O/ZiLWrKv9WFrIrq6YqHHB8ATE75mSeC/H0x91oT4RS26YEjbbBE4ckFCVBEJz dc57VGaiIfa5r+ouMLlnXR+IxbKsVfQ70o41iZzXAbJY3j+aFhGqnlm4b/tNs5k1++yk oyCOScwBKmTh7sKyD7jNyeqkUns3XvLokw2GM21ET+WzrQq1iK/ajuyxcM+AGYsNmrzb pcdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KDM1V4n0; 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 o11si4362678pgn.123.2021.10.14.09.30.57; Thu, 14 Oct 2021 09:31:20 -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=KDM1V4n0; 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 S232059AbhJNO5i (ORCPT + 99 others); Thu, 14 Oct 2021 10:57:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:42384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232087AbhJNO51 (ORCPT ); Thu, 14 Oct 2021 10:57:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 72CC960F36; Thu, 14 Oct 2021 14:55:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634223322; bh=dRdybtfe6b83/6HE3ZL6p1D7IoSIw4cKYitXdvn9aR0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KDM1V4n0oK4+tbIqFNI/mZp8Vabj+8MyWEoA4gjp3aTQ6VHGug66SYnfscGzFpERJ cuZfYpv3ehf2A34tcVLBhFHsSPRZS20PlQy2OfOoUe6rosheGzIaLwi2bo1PbTCOx9 51meMvkWDbgzDmFteNz5MKhnS/dUk9X/vw4+35Hc= 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 4.4 07/18] ptp_pch: Load module automatically if ID matches Date: Thu, 14 Oct 2021 16:53:39 +0200 Message-Id: <20211014145206.554678234@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211014145206.330102860@linuxfoundation.org> References: <20211014145206.330102860@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 3aa22ae4d94c..a911325fc0b4 100644 --- a/drivers/ptp/ptp_pch.c +++ b/drivers/ptp/ptp_pch.c @@ -698,6 +698,7 @@ static const struct pci_device_id pch_ieee1588_pcidev_id[] = { }, {0} }; +MODULE_DEVICE_TABLE(pci, pch_ieee1588_pcidev_id); static struct pci_driver pch_driver = { .name = KBUILD_MODNAME, -- 2.33.0