Message ID | 20230224181047.2775829-18-troykiskyboundary@gmail.com |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=WSOVK4zA; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PNdMq0SBlz240V for <incoming@patchwork.ozlabs.org>; Sat, 25 Feb 2023 05:14:47 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 91CA685BDF; Fri, 24 Feb 2023 19:13:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WSOVK4zA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2E7F985B8B; Fri, 24 Feb 2023 19:11:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 14B7685B93 for <u-boot@lists.denx.de>; Fri, 24 Feb 2023 19:11:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=troykiskyboundary@gmail.com Received: by mail-pj1-x1036.google.com with SMTP id gi3-20020a17090b110300b0023762f642dcso15346pjb.4 for <u-boot@lists.denx.de>; Fri, 24 Feb 2023 10:11:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7tbIPwEGYRAYLPxTWSokw4yIHRjDYZQyQwJQzRm3Bbc=; b=WSOVK4zALff4vTVxxWqIVMdVTrTmRnLx3yDcohDaGjIvohjNhfN8Gorh2SWgzn4M+r 3kL86uFsghKfoiyb+52zGJUOzXyTh/nk5s9/InF/ecvdIErGDKLQG4j3X+Kk2Jq/Islv yiF/xXlTkFwfumMz2KNya0Yyt7HN34j6j2BHDGeohEyVUCz1sg44VG7od3eTPOHKwOSP 7hJDMHSZA8hVmMbsZNe4891x2oSfQUECJnC5FajRUAIWl/HsRBeuPZOHTMV73fk1oUxO wRSP6+6kDxhUm+3M/YifJ+pC0kayJMNq9j0Q7NODcdje2ejby1nI4Vfx+dJjk0BHBV1/ wOQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7tbIPwEGYRAYLPxTWSokw4yIHRjDYZQyQwJQzRm3Bbc=; b=cE80URP9ynSisyhBSHBLndmbKDs2Uwv7mNXIeKSRIq7QzW4FSQumDqxup1BYYkalHE RxpGfsrkACG6MxK7QrAuzaGZepkW3ztnVAdweXmQgKFMwNRWiB/tW1gqud/T6fivu44l sP21+xj9Uk9yHn1yriO0rip9YYJ5LzB1amgcUXuaI6geVZnVXUcPzbbPELUJwQCAb8dB Uwzrx39sEGpLLmwZKAhrcqc0lVsYzKktSFP8TyI4YNug0ItaePz4Hs+C6TOrq2qAflMB RErVHxpOydvdUcwIjtTZxRZPhN5RXfG1FPkb8C4gl13YT5f5Q9Ztg09cZ/FFuv+Jda20 WI3A== X-Gm-Message-State: AO0yUKWEBlGmnXx8jdof8wQ5CSrHVTJBQpKgWlxz0PmDINXYbThwsxXm SIIZdnnxjsK+dw9+ApgLBek= X-Google-Smtp-Source: AK7set8KaB4dNp2d1XWn9Mg5pXaGFIno07loNlLdyVzNefw2mv5D/Bm/lHgzXcgsUwpAoimGmpYSfA== X-Received: by 2002:a17:903:441:b0:19a:ac93:645 with SMTP id iw1-20020a170903044100b0019aac930645mr15525227plb.51.1677262280298; Fri, 24 Feb 2023 10:11:20 -0800 (PST) Received: from OS2.boundarydevices.com. (wsip-184-189-120-117.oc.oc.cox.net. [184.189.120.117]) by smtp.gmail.com with ESMTPSA id o1-20020a170902bcc100b0019c922911a2sm7513957pls.40.2023.02.24.10.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 10:11:19 -0800 (PST) From: Troy Kisky <troykiskyboundary@gmail.com> To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky <troykiskyboundary@gmail.com>, Fabio Estevam <festevam@gmail.com> Subject: [PATCH v2 17/26] freescale: common: pfuze: define pfuze_mode_init only if defined(CONFIG_DM_PMIC) Date: Fri, 24 Feb 2023 10:10:38 -0800 Message-Id: <20230224181047.2775829-18-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230224181047.2775829-1-troykiskyboundary@gmail.com> References: <20230224181047.2775829-1-troykiskyboundary@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
CONFIG_IS_ENABLED vs IS_ENABLED
|
expand
|
diff --git a/board/freescale/common/pfuze.c b/board/freescale/common/pfuze.c index 6dca22960bf..a9288820b2e 100644 --- a/board/freescale/common/pfuze.c +++ b/board/freescale/common/pfuze.c @@ -91,7 +91,7 @@ struct pmic *pfuze_common_init(unsigned char i2cbus) return p; } -#else +#elif defined(CONFIG_DM_PMIC) int pfuze_mode_init(struct udevice *dev, u32 mode) { unsigned char offset, i, switch_num;