From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E9E7A2550D7; Wed, 25 Feb 2026 01:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771983469; cv=none; b=ALVNtulQpU/lLvB6HVutN5FZIJIPu69LlYu33YmdwOA3EdMqoSw8ieTDmKlZbTjOZCrTFaBf2f8lXH3VpIxMIeYwfVOpCOtjQqoEILXCEjOgH3EsC8ILyg9AxgjYby/MllGtF5rQntATfvp0G56mpBDgma3vvfBWgC1xDI/0NzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771983469; c=relaxed/simple; bh=i5Mgv4d62U8FjC61UqFJXkmYcM9hvABaqzTnQ9LjA/E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sDy899aFy8hgFr1DBjcuGT791ZrnCBYhdeHhSB4pskpzEWcLNu1KZ9bQ689h28KCiTgBXr+yqMoZXPhpmgY2vMwoNMhHZtS9ZZY5GZVLY/o1/O+B/8dQa0at8gTieEwjOMxHDFgIXJ8VyB8ngCWDofySus70pB7a6++OpOwU/00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Zjs9riNE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Zjs9riNE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9AF2C116D0; Wed, 25 Feb 2026 01:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771983468; bh=i5Mgv4d62U8FjC61UqFJXkmYcM9hvABaqzTnQ9LjA/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zjs9riNEudQxf6qw/lfYMET9jLQdl+ohL+dCgnqBQCDDLaYWQBgEVqRzRe1CHWsFR rAJLTPIUp9i1UmRZgP2zrxsV2gyMfy6mkrf84AfU0l/4cAgIOJBn9hni94dSSMH2PE wZQSIaFYz15NExFejtXEHfXlHzyoX95PH8eSO8LA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Junjie Cao , "Daniel Thompson (RISCstar)" , Lee Jones , Sasha Levin Subject: [PATCH 6.19 584/781] backlight: aw99706: Fix build errors caused by wrong gpio header Date: Tue, 24 Feb 2026 17:21:33 -0800 Message-ID: <20260225012414.123635540@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260225012359.695468795@linuxfoundation.org> References: <20260225012359.695468795@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Junjie Cao [ Upstream commit b7db7d9c4ffc04210fe631f73a81746d6e2ef24b ] The driver uses GPIO descriptor API (devm_gpiod_get, gpiod_set_value_cansleep, GPIOD_OUT_LOW) but includes the legacy header instead of . When CONFIG_GPIOLIB is not set, does not include , causing build errors: error: implicit declaration of function 'gpiod_set_value_cansleep' error: implicit declaration of function 'devm_gpiod_get' error: 'GPIOD_OUT_LOW' undeclared Fix by including the correct header . Fixes: 147b38a5ad06 ("backlight: aw99706: Add support for Awinic AW99706 backlight") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202512171631.uKXlYwqu-lkp@intel.com/ Signed-off-by: Junjie Cao Reviewed-by: Daniel Thompson (RISCstar) Link: https://patch.msgid.link/20260111130117.5041-1-junjie.cao@intel.com Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- drivers/video/backlight/aw99706.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/aw99706.c b/drivers/video/backlight/aw99706.c index df5b23b2f7534..938f352aaab7f 100644 --- a/drivers/video/backlight/aw99706.c +++ b/drivers/video/backlight/aw99706.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include -- 2.51.0