Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2748574pxj; Mon, 31 May 2021 09:45:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTDP7SNLobLqPTgmMTBcGpVhcrLhUH0qazz6aImhHR7lep5kthkjGALl/uzJrJfrOJrif7 X-Received: by 2002:a02:908a:: with SMTP id x10mr20969586jaf.30.1622479506953; Mon, 31 May 2021 09:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622479506; cv=none; d=google.com; s=arc-20160816; b=E2a3/rvArw+F7ZX8xBG2griGEjo3xLxw7yezyUX1Ax3NqtMcpJcOYGzT7digbb8GqC WU/9JWP0KhmQH7zWX/ZNxoMk9NdxDV+Sqt9Ro+3E9V+Nqq2pYhO7pllQioXUuIlKxLfF alWN38CVOHlsK60OeDnpYpRAau5oiiXExR/TCrsjg2p/8+FtH/ZD4QCrK2WwDbaJ9wLs ODI1n3hF0NriwuRvaOumSDe0jrWVUjjA7fRl5pn34wixD4p46awDorim/2K8tMMOMQon HC5mZJVvXxDx6u/g8YwAzBpOYxEg7YJW/+M1xSS4izhpBjYjzmQ97ShMhJ6Qvbn+kxyc slgA== 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=/geZ2Y2PqLmHov09+RNalRKZmoLce/WwmShnzz9AsP4=; b=HtF8axAsVxW9s8T3N+IYFWvbH5BKECTc3LeBJuuUGxkYQYFFu+GwvVUjXWJaSHjg2A iDmiEiIqXzxnPcqMjnGS13EdFrutfH0+lLrDW6jgrtwVOVqo30Y6FQbrByZTOqwsQzFz cYAV5jfPBTkkNgz/S1i9U4XRMsxK/sjj9h7wexH2e7zRSx+2OkAs2ZU8VICW2svMn4ZH 0r1+FrIIynmejXSqZJLhgA0fANhNc7YHa8IRZeTQTvEKexvzGxmQ9orKP50NVBwBRib3 iBmMvXqdItyn8kt1Aeih7Gug1eHy3aXQO8XecPD4MZEn4r6dnqcsGBKE4ucacUeUk+sA jscg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DvUBnwFK; 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 w12si14417524jad.49.2021.05.31.09.44.53; Mon, 31 May 2021 09:45:06 -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=DvUBnwFK; 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 S232455AbhEaQn6 (ORCPT + 99 others); Mon, 31 May 2021 12:43:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:47906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234047AbhEaOxR (ORCPT ); Mon, 31 May 2021 10:53:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6C6AB6193A; Mon, 31 May 2021 13:58:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622469514; bh=EQuL5AWD/fApjp0/wL1bMQy/0dIiryBUxf0x/fpQz9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DvUBnwFK6XLEfBcKdg2wD8EPGiAnQpRVWqujctb/MwpFzKfPSOf25L8N3selEEW4f u6w6lKujLMP8Ibl/LGSqdADHKjvsc7t+DFffVpN1sqCZQWDYU8kIG2duI62n7/cnkk 088A9aMRpCNvmuYkpR3E/BffuvsbM8I/qdhTadKw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andy Shevchenko , Hans de Goede , Sasha Levin Subject: [PATCH 5.12 209/296] platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI Date: Mon, 31 May 2021 15:14:24 +0200 Message-Id: <20210531130710.890146435@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130703.762129381@linuxfoundation.org> References: <20210531130703.762129381@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 bc1eca606d8084465e6f89fd646cc71defbad490 ] The intel_punit_ipc driver might be compiled as a module. When udev handles the event of the devices appearing the intel_punit_ipc module is missing. Append MODULE_DEVICE_TABLE for ACPI case to fix the loading issue. Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20210519101521.79338-1-andriy.shevchenko@linux.intel.com Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/intel_punit_ipc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/intel_punit_ipc.c b/drivers/platform/x86/intel_punit_ipc.c index 05cced59e251..f58b8543f6ac 100644 --- a/drivers/platform/x86/intel_punit_ipc.c +++ b/drivers/platform/x86/intel_punit_ipc.c @@ -312,6 +312,7 @@ static const struct acpi_device_id punit_ipc_acpi_ids[] = { { "INT34D4", 0 }, { } }; +MODULE_DEVICE_TABLE(acpi, punit_ipc_acpi_ids); static struct platform_driver intel_punit_ipc_driver = { .probe = intel_punit_ipc_probe, -- 2.30.2