From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BEF52283138; Wed, 23 Jul 2025 14:16:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753280167; cv=none; b=MYS88TOOqcvyty1F8w79Hqaa4QkcxPWX2sI9xYotOlYfuPBy5Dpf6G/oPdCisDwC3cy7i/uZ/0sNwJRhOr9rY1ISU01sl46KV5IVlxy7L0VIOnXpBxl6fKWCvKfvtrCbBi0Fe5cw1vFJ6HewdTmQv6SkHtxYN2T0C8kzV8WvAEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753280167; c=relaxed/simple; bh=gdg3yubKvZuSoKpb+Megb/w2lvlgTJOOlMInvqzCRLY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QEZMYwk/L1LSAjJeDTimFFnZG1ppPk+y/TgrKoeb3NfgjopleaDMhGuZMmRflOaakjmjRIrHVCZYQK1JHRuLf8sEXhM0pBuxHlZdzKhqMkLAzK+Gc2IHdld/hX78ZPPQwHK0TvtLRHnTbuoXgd3TpJSAQVzmjewdgS9x/G7JRKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=BfXjum3+; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BfXjum3+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1753280166; x=1784816166; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gdg3yubKvZuSoKpb+Megb/w2lvlgTJOOlMInvqzCRLY=; b=BfXjum3+KEPTs81B20judLql/oiAoCE1AQnxmThwKQ2YnlMezqmCKBhO kFfKiwEF+I/ptsbSgeMjhs40WrGY8RtANUGipIVGVXcpA4Z2uVHQpJFIH dlYpD04UDFFDxWwujughThsVsaBZjJ7mhpEauOjDWLkrKTIC48miujsGf 3qiiXDMtYkH9Y5H00KXStkcw3S4IjJCSfinPBrFh+fL/P1ya1umRUM5D/ 3DtZlHHWhGTl/6szsv0zDgbpYW4mhTMJnlGBldqpvYTFKXcJVDkwTrYph beQ7jZvRuM2sgua3/EUkZ+olYmDXwgoyf/nIN0mkE+GCblSdW04xO+CaM g==; X-CSE-ConnectionGUID: rXtE1gDbS1CiwfBjLp12dQ== X-CSE-MsgGUID: A2JHMoy+S1yA96bWbkdwjw== X-IronPort-AV: E=McAfee;i="6800,10657,11501"; a="66636903" X-IronPort-AV: E=Sophos;i="6.16,333,1744095600"; d="scan'208";a="66636903" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2025 07:16:05 -0700 X-CSE-ConnectionGUID: ez9PgGFwSjCzgkaQSsjnEg== X-CSE-MsgGUID: sgPKVpYUTDigY8A5TKyUjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,333,1744095600"; d="scan'208";a="159936583" Received: from smile.fi.intel.com ([10.237.72.52]) by orviesa008.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2025 07:16:03 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.98.2) (envelope-from ) id 1ueaGF-00000000JIN-02ws; Wed, 23 Jul 2025 17:15:59 +0300 Date: Wed, 23 Jul 2025 17:15:58 +0300 From: Andy Shevchenko To: Arnd Bergmann Cc: Linus Walleij , Bartosz Golaszewski , Arnd Bergmann , Peng Fan , Lee Jones , Koichiro Den , Geert Uytterhoeven , Alexander Sverdlin , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpiolib: make legacy interfaces optional Message-ID: References: <20250722153634.3683927-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250722153634.3683927-1-arnd@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Tue, Jul 22, 2025 at 05:35:43PM +0200, Arnd Bergmann wrote: > > The traditional interfaces are only used on a small number of ancient > boards. Make these optional now so they can be disabled by default. ... > +#ifdef CONFIG_GPIOLIB > +#include > +#endif > #ifdef CONFIG_GPIOLIB > - > -#include > - Why is the above needed to be changed? -- With Best Regards, Andy Shevchenko