Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4109309pxj; Tue, 11 May 2021 20:46:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7ay8BfW0fpI6114tIem4fbx+GFUZ9bDWhvLJtapYDY2jEf35SAWesKdTH55MpD9COdZJv X-Received: by 2002:aa7:cd4d:: with SMTP id v13mr40341767edw.218.1620791164443; Tue, 11 May 2021 20:46:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620791164; cv=none; d=google.com; s=arc-20160816; b=TRREfrFDherw35b8gATuOje2S5vrzLE+ylFZoplcQuwwn5zSfqVv8N4wiuwh8Nm5J/ B9OU6K/qRbeaGjKBiWZEqiJ8A6i56HF/cVNe7xLIqDH9boH5SkMUdPPnOWh51SZDe/G5 ABx5infCPE3xfBJxOHevYIDek8WIYu715O3UUfFuBVZlgeeRAN9pPyNmbF+zexcIGM1B 2ALqwNIN+BgFclcbfPJCc6qm+KVOyGQFizhe6NNmCp8EGROsPMVSBvIVjQ0q8k2mu6XG U204P7wFunIlde/pgFem1ChrWet6JGzfJBCZDJ7dIWWPtyirYSh4COGW1O02yCBmZLbW ac4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=lkkXhc2uugYOCDJjPSDeqfyZiikWRgIU9NAB4+J8n7s=; b=LPKOZM74sR9diIlUeCVmW/oUjKIoZE8xjftUDanb0sRKRAW74K/7Jf+J3r4LvPlg1B J5eZgyamjZuX2V8wTstKiYBmSVzbeVL04G96/mGQYL6+xX279FsbivDRlfBUlFk4Geul iM5MChQsxOtTR0DsUVoA5+LeVpZKYJFb86T5gtHGmUk67KvwL71M5TkDUyhURu8GysRV DoZlCfCC5H+9wXlX0xuPEhaYmhTESle+9pw7WXrXQP0FR6I8pNJ/ZV984u78rl5c6c0W 85o4fm+M7n1QyN7/o92lFDdPesjwWl1UyTAFFx+AkXhygQmu/16jeIdtnRxvZa57PPB8 BpAA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx12si2379486edb.413.2021.05.11.20.45.39; Tue, 11 May 2021 20:46:04 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbhELDpp (ORCPT + 99 others); Tue, 11 May 2021 23:45:45 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2565 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229968AbhELDpo (ORCPT ); Tue, 11 May 2021 23:45:44 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fg0w41TrSzwSQk; Wed, 12 May 2021 11:41:56 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.498.0; Wed, 12 May 2021 11:44:28 +0800 From: Zou Wei To: , , , CC: , , Zou Wei Subject: [PATCH -next] ARM: tegra: Add missing MODULE_DEVICE_TABLE Date: Wed, 12 May 2021 12:01:29 +0800 Message-ID: <1620792089-16319-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/amba/tegra-ahb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index 0b2c20f..a0af8ed 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c @@ -272,6 +272,7 @@ static const struct of_device_id tegra_ahb_of_match[] = { { .compatible = "nvidia,tegra20-ahb", }, {}, }; +MODULE_DEVICE_TABLE(of, tegra_ahb_of_match); static struct platform_driver tegra_ahb_driver = { .probe = tegra_ahb_probe, -- 2.6.2