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 33282132C14; Tue, 23 Jan 2024 00:18:36 +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=1705969117; cv=none; b=LbJZxL6yVYsj+PENFeaBkkHU4N5kWqnfKxq4iM5D7KdLYTn+SJ9bvJeY41M9DfcFyiixQNdtq1S4Rl/VqCzM0B3HneaIS6CKFZY9or06UnatyNE52t0hV0Cs6Bs7riMJpvUSZXacJg1TN5fkmk5cIAf+l7SqZ5HK+88RRwatUTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705969117; c=relaxed/simple; bh=jxOuLpVPYSBkNg6VPObGct1/AH1ve6B5MyvGTVYsmKQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nmqbhr3Z/t6hefrOmtvnMMOowaBbZKKko0pVKBvLyIhF5XKkWbjYT4UNZT72P3VD61tm/BvQxnveJ61/yu2cGDDBXpvnTNZw9wp5zyVQtNIk+YmP990WEBr0ZLZxrpeOpc25hNMjZ8moCWSZfAmng8aQGuR/+HLfFiZZp1QEgxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ah2AhThJ; 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="Ah2AhThJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3735C433F1; Tue, 23 Jan 2024 00:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705969116; bh=jxOuLpVPYSBkNg6VPObGct1/AH1ve6B5MyvGTVYsmKQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ah2AhThJ0CfC0uIHA7Rlj+dcXUSDjjcSecbrOE2rJUw5YbNFbJRsP+vi4a1V1GwpT 6Dsox1xvK1OVefvSJ5eLwluEl4If77Ia8OQBFNN1YrERj1vq0xkxhkp3+PTWk0iW6s oKtkBmb8IRSQxmasiYCQFET9DEGRfVHcIGGWOld0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Randy Dunlap , kernel test robot , Michael Ellerman , Sasha Levin Subject: [PATCH 6.7 007/641] powerpc/44x: select I2C for CURRITUCK Date: Mon, 22 Jan 2024 15:48:31 -0800 Message-ID: <20240122235818.335394149@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122235818.091081209@linuxfoundation.org> References: <20240122235818.091081209@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.7-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit 4a74197b65e69c46fe6e53f7df2f4d6ce9ffe012 ] Fix build errors when CURRITUCK=y and I2C is not builtin (=m or is not set). Fixes these build errors: powerpc-linux-ld: arch/powerpc/platforms/44x/ppc476.o: in function `avr_halt_system': ppc476.c:(.text+0x58): undefined reference to `i2c_smbus_write_byte_data' powerpc-linux-ld: arch/powerpc/platforms/44x/ppc476.o: in function `ppc47x_device_probe': ppc476.c:(.init.text+0x18): undefined reference to `i2c_register_driver' Fixes: 2a2c74b2efcb ("IBM Akebono: Add the Akebono platform") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: lore.kernel.org/r/202312010820.cmdwF5X9-lkp@intel.com Signed-off-by: Michael Ellerman Link: https://msgid.link/20231201055159.8371-1-rdunlap@infradead.org Signed-off-by: Sasha Levin --- arch/powerpc/platforms/44x/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig index 1624ebf95497..35a1f4b9f827 100644 --- a/arch/powerpc/platforms/44x/Kconfig +++ b/arch/powerpc/platforms/44x/Kconfig @@ -173,6 +173,7 @@ config ISS4xx config CURRITUCK bool "IBM Currituck (476fpe) Support" depends on PPC_47x + select I2C select SWIOTLB select 476FPE select FORCE_PCI -- 2.43.0