Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1880673lqa; Tue, 30 Apr 2024 01:50:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjPKnHlF5YCWr7uY0W1jjnelhesB4tbiqPfe8IPqcNj69PIwcFgwWfmrKUTPOCjKVJMU//6ep9Nh1hm3tkqzILFZUZ5E1pwbCOWQ1Czg== X-Google-Smtp-Source: AGHT+IGgLEdBoTb2Hy5SUspIZa8ykKABTXJHXJBlrh4NXYY7v1HffpmQkIWchnrzhpCAyDqDMcfp X-Received: by 2002:a17:906:2993:b0:a55:b810:8678 with SMTP id x19-20020a170906299300b00a55b8108678mr11690188eje.23.1714467034244; Tue, 30 Apr 2024 01:50:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714467034; cv=pass; d=google.com; s=arc-20160816; b=kjDpddaAUuNMRJEM+A7tWJhCouoUUKGMjQJS9WOuI8gfW6czP9U9BImMn16AfY1gA5 Af1tY0ALgbXnitY3ahXBARVUW/7wNrwiK0qATJhxtsiOngo56NgSAz/frTk3qCAFGtiK 2+CW9fhSl/6j2eJctqGTHwtqzhGk3TwaqTtj2s+u86A0Smk+YG8ORMD18rvgqTcAN/o6 LxUJVjYYyRThJV3PGhfyfbhJO8QXAHcdBCnw3vLYuIP+gHoeAo3FMvlGZFtLNM09936Y bDak2xyf/3ZTac1KtvaZJE+MN3CTshUMUZYQzmMA9wF3wjT7xbtFL+ssCwHCuM1H2IZV KCSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=UTOWm6ffUCb1fQAfPlYZjNwQ+bKxiRsAzYNUfxIcgfc=; fh=Np1Flbym0n0YUMjsW8pYXM5bQ6nTzJ3djl0upSGBmrs=; b=OLHTTxYQlS9crXJJNvPeTr+TrLh4MI3ydMOKHsPZmO2AqIwFwv+Wv0rzCawcKPppz+ 0nEMqs/Bvsj5FCaF6azlv8hwH+AzxkbRnpPvRHPy0reswFrsBqPja1haxRIyjpafvIBz vejh7KzSNECuv3BOULr9wFf8Yj6E8tByWnELCZN3B4AIa/r8StVK6JHrdNwTA0zIkRQN Gyvqkz2A60cYT7txslag9JTkREI83PsBy/7RhFDBrw+m2/7C0pso7+AdNeyxIQHUg2aj UeaIla4A4yidZvrmGjwmmEtlHe+nV1c7i63cZ5D2dgD8fKDluRv3k0JKTw4PGE/VvWz+ Tg8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiUAHEJX; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ga41-20020a1709070c2900b00a53ed1aab8esi16317250ejc.910.2024.04.30.01.50.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 01:50:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiUAHEJX; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F37581F23552 for ; Tue, 30 Apr 2024 08:50:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E95B129A70; Tue, 30 Apr 2024 08:49:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uiUAHEJX" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1FF2128826 for ; Tue, 30 Apr 2024 08:49:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714466985; cv=none; b=EIwHIAhQRWG8WhOJDQo/pHPx23pxVPfuJsT2Fv2Yi3mlsdSd47v87+541PEnLsrJUdSd/ClUCRHxZptaHC1jqdYh6f7TFskDD7Zh8xyTaSnrSnU1S7Kl7I9zkPPdNFZpSi/FeSTK1lQyqZyZ28KIukn7+42ss2xMTWkfJ0yduRQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714466985; c=relaxed/simple; bh=J8yxyFAtZQY9Dhgv7KXeZ4Mx3MLCOjba/Xn3sBIA4ak=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dGLlvAVnCz09A411cQvIRtv8jQ5JB0fSoA1f+Hc596PGIagLkrRFpBr2Cby1pDPXIiKlt1c8LjEH+ngjjPwHddrcYw1lbTWv5iQU+sZe+HA+KZ40bfI63PxfulmY5bsUDgkdN1fw3zfTxCCry3MRZqh/lHVtBCWFWWuAveXJRrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=uiUAHEJX; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-41b79450f78so29867025e9.2 for ; Tue, 30 Apr 2024 01:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714466982; x=1715071782; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UTOWm6ffUCb1fQAfPlYZjNwQ+bKxiRsAzYNUfxIcgfc=; b=uiUAHEJXIVqMPfbblwKCM0SKmNf2z85VJODHqDRGQAs2LUrTDnM/qiizWhFIkGy4LS YahbOGER1OC8rY+0YnoK2XvBREKkBtuJVPa5gRYQpmRH6E6+zi7i7znJiGRTZxVTlVEk ojd59E3XWGGtVHfTTZyzFs50cPP6Y9tWKYJyUXuau4FwUjQ9hSTBt5hHvR/zfqvO/Zkw 4ZoPzsTk5ZOYW19ZnNzqPHZ0me6HNQbQ/Zz9J/V9NPXPV9irPq5SWiahGf/VmUsFmNYw PaQV3AS46alCS3qc9jWAxjG4NubGWdTsHVm4sJWB9zQUfqM4dCg2M3fpz8JVLoGGwfne IrWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714466982; x=1715071782; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UTOWm6ffUCb1fQAfPlYZjNwQ+bKxiRsAzYNUfxIcgfc=; b=pu1tSvvnzdNnd4A3wgvvvpwjnVzis9c10BonIgrBWPflIv7rz3Rn2+n0INx6JLTyf4 DSxSzDt0Yqa8Nh51jDHTIDaSfjiahR4/PvTK+6xVFe3WWn4qlRHPD7QNuQwmHTmeeiRh lPwDbsgsOhHOgWQQRHaDR+afZqtkCe3s5JiIcc7Mv150w86PTKCXpt9HjRj1dXHI2RWe HFq41PsOu3AHELgugYv+8xnk2x8NkRwy3CDwWARlbOWpRPZ4Ryn45hCZlHzPnrKfBmpw gXP3HSpilDV8NLhAauUktOBTrE0Zeap/OHuiWi9gseXBmQ1wYPdJkwrxEkd2UWX08OG/ kjAQ== X-Gm-Message-State: AOJu0Yw+bZesLj4f1YRbrbEXvUjt0+5S/VWFcsyTwF/7+qyKL+ObPd7m hb/Qr6kSOPIsVpN70KJYg7FxWDZEQPZL0qJGbOhZIKOBgBGz67WWGYg50SQmPmeKM/k1CSESCA5 5 X-Received: by 2002:a05:600c:474d:b0:41b:f106:bb89 with SMTP id w13-20020a05600c474d00b0041bf106bb89mr8297530wmo.18.1714466982044; Tue, 30 Apr 2024 01:49:42 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id q6-20020a05600c46c600b0041892857924sm44490309wmo.36.2024.04.30.01.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 01:49:40 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla Subject: [PATCH 04/11] nvmem: sc27xx: fix module autoloading Date: Tue, 30 Apr 2024 09:49:14 +0100 Message-Id: <20240430084921.33387-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240430084921.33387-1-srinivas.kandagatla@linaro.org> References: <20240430084921.33387-1-srinivas.kandagatla@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=817; i=srinivas.kandagatla@linaro.org; h=from:subject; bh=1szAbvATvwsifYrHEbSon3Ghug4/Usl73JU79h0w9HI=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmMLCMHk280d35qsyhI5qxUbgYY6DdbPPl9q6rz rWl5CtCv8WJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZjCwjAAKCRB6of1ZxzRV N5ALCACxRmOoULqjWiAjNBDDVKxGt+1+mu1n/DvSwakKjdfrOhum8vBEo/tNOaNg3X4m0BCjGDa +6ztUZJG043zUdrzTg9Gbxq9WverL3he+fKbL3L+oueTR8bXltgzmui5I3yuU/VwQ7iUMzXeySa THMhZzDZmQOKoXNGAlxGpDTKMr3MXMfiEA0m69ursnimiUqqiGJtG4/Q8RtKQi705z4mWzWev1S NqF3K6nDm28p24SxuTtPpSAEwwJ/GwdYa2XKftvEUxHRS0BimZirD7FKcN5B1K+uYofAIPVIQ5c qbK1/kzhkLwMsPElXW0WP5X7bjgJLiiFH3FVFoQnwzPOIMMc X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Content-Transfer-Encoding: 8bit From: Krzysztof Kozlowski Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/sc27xx-efuse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/sc27xx-efuse.c b/drivers/nvmem/sc27xx-efuse.c index bff27011f4ff..4e2ffefac96c 100644 --- a/drivers/nvmem/sc27xx-efuse.c +++ b/drivers/nvmem/sc27xx-efuse.c @@ -262,6 +262,7 @@ static const struct of_device_id sc27xx_efuse_of_match[] = { { .compatible = "sprd,sc2730-efuse", .data = &sc2730_edata}, { } }; +MODULE_DEVICE_TABLE(of, sc27xx_efuse_of_match); static struct platform_driver sc27xx_efuse_driver = { .probe = sc27xx_efuse_probe, -- 2.25.1