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 170434F207; Tue, 23 Jan 2024 00:41:08 +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=1705970468; cv=none; b=pJOM8XB413oyvhBz6ZM3UN7pwp97MhsHV6GHe5EomJkykrooKde0S7/3kWTTPYyJd2mt0hT/P4joMjTFWnQDCz00+7p9/on+1ZR1h0R3PXtR4SK1oGAWFFUmqatwPMd+SqVvP+lltJlLb6oCfAF0exdNavuZLechqs859orVt6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705970468; c=relaxed/simple; bh=8OOs4flRJmYJWlSKpakrRvwRBvrq07qOSXg/Esuvsvw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n5hnNkfm5eTSh6SPVgurtk8OaKh2W0+JDZ48nJ+k8lpW1Sk0Tc4OgaL5Wtr0XzVfBhQxHQ9urhA/ICYx3ktU1XUi5zRJS3aOHCwKnX/pqIf29OCVKWSBruXa2T0dBEOfjmiupmJF49byJdLMVglJoCnDek7K7NN4osuDpWCz5c4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AhbFkgcW; 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="AhbFkgcW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C8CDC433F1; Tue, 23 Jan 2024 00:41:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705970467; bh=8OOs4flRJmYJWlSKpakrRvwRBvrq07qOSXg/Esuvsvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AhbFkgcWYx0vpmLwtVMTJTL8xAb3Ia0NZ3ZHbzpVYNIaa0R5nrA1FB+UG53c37y+K ZpcqltQF8F92TBfBhJlJredI1vs/+rOpAA1jAo1QM4JDYdHAy1A/+M4nUD5hAHvCbl 5a2xzGJcTbCIgDT4+VoXWcvQjQ4m+7WehwrK+b4E= 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.1 006/417] powerpc/44x: select I2C for CURRITUCK Date: Mon, 22 Jan 2024 15:52:54 -0800 Message-ID: <20240122235751.706521708@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122235751.480367507@linuxfoundation.org> References: <20240122235751.480367507@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.1-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 25b80cd558f8..fc79f8466933 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