From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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 4E6BF33710D for ; Mon, 1 Dec 2025 17:15:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764609364; cv=none; b=qBdTushxrOUnmaochWp3zW00QIBHYatA4S/wN+7MZy8mvlQZrMSonjVpxOb3BnvYZDg6Al+9Jw8yRuxHfodFqDG9Kgdngp/hHnjpVLnt9e67GhQ7/87EDa8TUbmA84ev8nWHcnaoKDKFkmP7XC9sDCI/Op4oeFEPr3FAmIA8sT8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764609364; c=relaxed/simple; bh=HH/YjoTJvK+HycLUz2tbwGdJb1nNegFYrobhQ9Ypw8s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dv/QK7cLqXe0kDdWmjDxfW5spLKE8q+dZjWM9ktSX/L59lqLGU7VM2VFTe/S/86rcIC9bWq7zJ21GAKqU6jyr/SqDKujl8eGXxgEucnLrdabki4B4QfSOkjn2sNd0IBFlF/mlKajP44WnYHWreNg7pqqrTK+oqX5t/OzXAPOE4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=Npow+MGS; arc=none smtp.client-ip=209.85.167.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="Npow+MGS" Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-4510974a8cdso1786481b6e.0 for ; Mon, 01 Dec 2025 09:15:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1764609357; x=1765214157; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mXBvbePBmN0aGW+rjYL5kzNiYaDe50sZg3kuC1eECMg=; b=Npow+MGScSa9PmoCppCBKLkH/lvjtJcb6awX9aPoo0MtWh2u5ueZl/upHY6tPLROi5 EW73g+TiACBOJ+6zy3qphgzGuN5GmxU+PFQrjTy1JxwXANnbrwdp5plkDZDTUHuv0JEr /OhNtkJdZQ2tjwgdau6y7JHlSn3T1eYWvaUdRrCjFeRqk2rWcjfNRY7xp9O58g1TKOs7 TENNcDQyxVmuY8UZ9RorIWWD6IcDvaEP5x9IAtzciD9xU7ComNVSJfHGYv2lHYq0m5Mp C373JHEbOJ7pFsoWM7r6gp+mCteyyMrpi4dKE1LEy4ThHi502gBLwkQ2Pjs+1wi4HnJv zC/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764609357; x=1765214157; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mXBvbePBmN0aGW+rjYL5kzNiYaDe50sZg3kuC1eECMg=; b=BJU5yG69GMJlF/QwMWCX+7d119/CQu5w/Pzr9whKNndwXRQutWu8serPuqqJNKQBY6 OXI0yRt+fIV3g+x7/Ch1NjBrohGTKoYN0KGc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WF7hMjJsE/gYpW4bjA3882odDNc+t9DkOzPtuw0t9A== X-Received: by 2002:a05:6808:1790:b0:450:65dc:1fce with SMTP id 5614622812f47-4514e5f84ddmr11527679b6e.3.1764609356945; Mon, 01 Dec 2025 09:15:56 -0800 (PST) Received: from ?IPV6:2600:8803:e7e4:500:b67b:16c:f7ae:4908? ([2600:8803:e7e4:500:b67b:16c:f7ae:4908]) by smtp.gmail.com with ESMTPSA id 5614622812f47-453169b2a51sm3922009b6e.4.2025.12.01.09.15.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Dec 2025 09:15:56 -0800 (PST) Message-ID: <78240755-44dc-4835-aca5-99540cca0304@baylibre.com> Date: Mon, 1 Dec 2025 11:15:54 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] iio: inkern: Use namespaced exports To: Romain Gantois , MyungJoo Ham , Chanwoo Choi , Guenter Roeck , Peter Rosin , Jonathan Cameron , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Lars-Peter Clausen , Michael Hennerich , Mariel Tinaco , Kevin Tsai , Linus Walleij , Dmitry Torokhov , Eugen Hristev , Vinod Koul , Kishon Vijay Abraham I , Sebastian Reichel , Chen-Yu Tsai , Hans de Goede , Support Opensource , Paul Cercueil , Iskren Chernev , Krzysztof Kozlowski , Marek Szyprowski , Matheus Castello , Saravanan Sekar , Matthias Brugger , AngeloGioacchino Del Regno , Casey Connolly , =?UTF-8?Q?Pali_Roh=C3=A1r?= , Orson Zhai , Baolin Wang , Chunyan Zhang , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Claudiu Beznea , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Sylwester Nawrocki , Olivier Moysan , Arnaud Pouliquen , Maxime Coquelin , Alexandre Torgue Cc: Thomas Petazzoni , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-phy@lists.infradead.org, linux-pm@vger.kernel.org, linux-mips@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20251201-iio-inkern-use-namespaced-exports-v1-1-da1935f70243@bootlin.com> Content-Language: en-US From: David Lechner In-Reply-To: <20251201-iio-inkern-use-namespaced-exports-v1-1-da1935f70243@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/1/25 4:59 AM, Romain Gantois wrote: > Use namespaced exports for IIO consumer API functions. > > Signed-off-by: Romain Gantois > --- ... > diff --git a/drivers/iio/dac/ds4424.c b/drivers/iio/dac/ds4424.c > index a8198ba4f98a..33d6692f46fe 100644 > --- a/drivers/iio/dac/ds4424.c > +++ b/drivers/iio/dac/ds4424.c > @@ -14,7 +14,6 @@ > #include > #include > #include > -#include Unrelated change? > > #define DS4422_MAX_DAC_CHANNELS 2 > #define DS4424_MAX_DAC_CHANNELS 4 > @@ -321,3 +320,4 @@ MODULE_AUTHOR("Ismail H. Kose "); > MODULE_AUTHOR("Vishal Sood "); > MODULE_AUTHOR("David Jung "); > MODULE_LICENSE("GPL v2"); > +MODULE_IMPORT_NS("IIO_CONSUMER"); Is this actually needed if we don't use anything from consumer.h?