Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1717946pxb; Fri, 24 Sep 2021 10:19:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIM9g2Rp2NCo4+RxhWTXlQcwLgGOdaKlsbJbbb2CzpLjcskDXzuWG527OodngXjTs9qORq X-Received: by 2002:a92:ca07:: with SMTP id j7mr9045024ils.29.1632503940169; Fri, 24 Sep 2021 10:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632503940; cv=none; d=google.com; s=arc-20160816; b=xsZEEDQpOxs9iK+8wDzMcxWpPCZYgFoPoO9EIgdkSnUbF3zSHDPVjIbcbOZSTbt+YK H35UpZ6PfbrRqSmUIbgJZXjxkxqfAgcVTA5cVofzlxL7utGBRm8QYFPog3WTws2tVDxS Idg6lBfYIdX0GspPBOFnVSNxzVhTEu9z5lM0X7jMGEixiox13OiX7HO2ATUTgjaZIwGY NwCljEvHafViVZXa0M54gBptMCxbxsGHKsrGMb+2PqDwG542FqBUJm23w/NY5TLIU4iv rHWIA6Il742+833I8BRemkwdV78fGKSLPgqGp5GlK0gwKQzXAf7qaK+s4/oZTNtZG5Xr Bnmg== 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=NKOrl3k69hCMjOM7ir8OVdwkd56XErNRO8+T9KUgoXs=; b=oQXlJRss8VJxm79x1ORQuvzdakNzHwN4p68JNwV6FiHaotzyKqkT3E/1GomP3RLOCQ tLeXJqo5casWsDh8sIZ7CE6B3VnEEELte4Mt6pC+6YKFc0GpT4Mjl8bWgHoamxdOE0Ob jmxRuZxTcEvsn1GHfz4KYO8BjY55JgGOj7iY2H96ycVG0hjclIc8QDyARPf0tBV63am0 Ii4O4jdMj2MDN+aNj1d5my9BMXlC/gWUuAEQZ0dMxJn1NMCGf2aaUpWlxUXXSYGtjLBC Z1MhnXoDP9pMbxXFfLnPSHLN1RmrwEEeM40nwUjWHWqawfUH2g0j3uGYEhC6lwn8S0ko yPtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mHhXnfK1; 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 b8si13038379ios.88.2021.09.24.10.18.47; Fri, 24 Sep 2021 10:19:00 -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=mHhXnfK1; 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 S1344435AbhIXMxC (ORCPT + 99 others); Fri, 24 Sep 2021 08:53:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:45856 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344606AbhIXMvA (ORCPT ); Fri, 24 Sep 2021 08:51:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id ECA8C61260; Fri, 24 Sep 2021 12:48:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632487718; bh=OFTyZiwxhjOwkWAhCaChcnKPiPlqBDqJt0iNUf6+S4Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mHhXnfK1tIZExDzJd12yWZRp0yBnGfL4gfpgq0fMNnoVOg1suuqYDfs0NdpTFKPge wzJh1q2DNVFsFb8P+ncOjZy1kJsdZGd5sj4o+D3b74F2wSF0JyLAWKFMM5UKE8qA2y DltRC1LuyxMzHixN0p3Ick0/zrzrPDxa3+mPsGR8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Zou Wei , Baolin Wang , Vinod Koul , Sasha Levin Subject: [PATCH 4.19 20/34] dmaengine: sprd: Add missing MODULE_DEVICE_TABLE Date: Fri, 24 Sep 2021 14:44:14 +0200 Message-Id: <20210924124330.623539788@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210924124329.965218583@linuxfoundation.org> References: <20210924124329.965218583@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: Zou Wei [ Upstream commit 4faee8b65ec32346f8096e64c5fa1d5a73121742 ] This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Zou Wei Reviewed-by: Baolin Wang Link: https://lore.kernel.org/r/1620094977-70146-1-git-send-email-zou_wei@huawei.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/sprd-dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c index 9e8ce56a83d8..0fadf6a08494 100644 --- a/drivers/dma/sprd-dma.c +++ b/drivers/dma/sprd-dma.c @@ -1016,6 +1016,7 @@ static const struct of_device_id sprd_dma_match[] = { { .compatible = "sprd,sc9860-dma", }, {}, }; +MODULE_DEVICE_TABLE(of, sprd_dma_match); static int __maybe_unused sprd_dma_runtime_suspend(struct device *dev) { -- 2.33.0