Message ID | 20231020214633.30883-4-semen.protsenko@linaro.org |
---|---|
State | Accepted |
Commit | 11bd2787deff113634cb9f330d9287e6d3d76e9e |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:dd81:0:b0:32d:baff:b0ca with SMTP id x1csp520443wrl; Fri, 20 Oct 2023 14:46:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEds2Au8By78ka53ofvmXmNASlMcssiGtqoq165L5SE4u32mTlN2R2IfyAPRslVj8TDqZnS X-Received: by 2002:adf:edc2:0:b0:32d:a57b:8c8d with SMTP id v2-20020adfedc2000000b0032da57b8c8dmr2334040wro.69.1697838418455; Fri, 20 Oct 2023 14:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697838418; cv=none; d=google.com; s=arc-20160816; b=G9Lzn+mC0JWPtPEwPMHFLg/4ubKz4kxARKWczAk2FNlwF4fZ4BkwuTZRtKSZ1ecQYq YcPxVqa6hSrwPk5FYAzTmo4hPOXUYs8XwLtIQGEmXp9MNlnMYclXYqkM2aqTluGhmYPL EgrL4tAogcjlgaXOS0Hu83Tez4WP3AkvQjq83atW3PyhqUgmhI1+5BmyjExS0rZ5ZdKY IvPwXsz3QmhcqIf3QbG/2BXyZDovXrjx0NPt2yxZdP707gw12yOCKzYGjmlzhFLzwoII iw2qljM9C7V5E+FpAEgwPM6n9KrYwVJRr7HbBghDqNcLlXc1+AJfje0R//N/rNAfDHGo Ks6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CuKxXGX80wC1clbvUNIGZqrPlS4JX50n79XrYCQUpho=; fh=ZUQKs9GMzbh1uZy0/B+oVdbaf6yqxA89mGE6apmm1yY=; b=MX8LkBmndOPhs8ea8n71LVFJKsOSrjlaDAIj1M5M+dhRofj2A7kC5jj8hc6qilfRFG 8fmKUeTbUJNzTVN7Sk7lbrYDoUUGNoBwOn44DEl//6fe4LLb+bbDv167EW7jObbMRCf9 C5mZNHVaA12Li9fLYoHWKk6kP7zzgpBrCwleS3BOzT43MAxXXfHnTYNntiSM+CDNtS6x zSjCmaIrKkNTcBqMKQOICuICNkxG2QEc1K+2DYOdAHq7CS1ZKtwDJqghQ13blGj3cbl0 YJbjN83oXL6lNeoTypxmJBlDMQTCdZB511P0iu9qUc9GZ4MR3Em0hSt6XXfp2woiknFY Z7lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mg6KxF8e; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id l28-20020a056000023c00b0032da2c586adsi1551872wrz.112.2023.10.20.14.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mg6KxF8e; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EF57787526; Fri, 20 Oct 2023 23:46:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="mg6KxF8e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D9F5386F46; Fri, 20 Oct 2023 23:46:43 +0200 (CEST) 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,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) (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 E42EF87524 for <u-boot@lists.denx.de>; Fri, 20 Oct 2023 23:46:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-1e993765c1bso891573fac.3 for <u-boot@lists.denx.de>; Fri, 20 Oct 2023 14:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697838396; x=1698443196; darn=lists.denx.de; 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=CuKxXGX80wC1clbvUNIGZqrPlS4JX50n79XrYCQUpho=; b=mg6KxF8e/Xz5odcWf1nb6Bj5c0ndIcnVZ1K2bV9G8cLwpU2e7X8qPt+Ppg/wpZ/9l2 n/gJ3kwHeWgWm5i3ypPTWelMPigss/s4nlJXvLv0Z2ECovWplgIDXUOl/R2hcqqeEVPa fI9PrIeLy05RCR7RgjZzPVCGUF5Y+TQDNf86pxoN53JFMBIIoPnbuAM+Afexbijhs9GA vW7/dF1AoPnk9u4d/HAxom5v8epo4YbIWIqfkmlgJ0LdWoyPHD753wY9RUfw+ThC7D5Q teUQBLTM3vygKO232G8VXHtzM3JiTHjJHZyewJVTgRaTp0RGa6KwxIZP8UqAr33MElx1 pOdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838396; x=1698443196; 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=CuKxXGX80wC1clbvUNIGZqrPlS4JX50n79XrYCQUpho=; b=l0goiCl9cNHS7ri4d5Y8mKKn+XrgiWl0YGxLwNJSL+/SwNLVfQjcAmAodo0P8ckauf CMbLaRc+QyGiLFhaiY+FB85NFoH14KmILB6WRt2V4KPpdMh+m717cXu5tRNFrT5hc3S1 PalptTzj8uUsS3GlwQpFoRoVB7deMlNHWg0bJompvo5xltDNosoBfb3N5nKF6EWAnwb/ DTL2tLOBZCcdSr9h9ni67fdWfLqSCKZY7G/lw/iL/C+5fFx35xCwhC4zyr+Efsp+jtu0 ejD4VdDf5S0RFP3tTt4vBoL6KJ1Mzlm1TGmr0NKu7oa+SYKzyC6uJpnHuMZ+G8yiLcyn JmEg== X-Gm-Message-State: AOJu0YzrRuOFX+g9o2xCoMwomS5i8YsIhS43tryCV7oKgUtMoukX0nxZ svkp+DFMMgQbmA1hZRmRTKxmBwa6ig982NtZLZQDCg== X-Received: by 2002:a05:6870:2216:b0:1e9:b82e:ba29 with SMTP id i22-20020a056870221600b001e9b82eba29mr3581652oaf.24.1697838395985; Fri, 20 Oct 2023 14:46:35 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id s5-20020a056830148500b006b9443ce478sm467654otq.27.2023.10.20.14.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:46:35 -0700 (PDT) From: Sam Protsenko <semen.protsenko@linaro.org> To: Tom Rini <trini@konsulko.com>, Minkyu Kang <mk7.kang@samsung.com>, Stefan Roese <sr@denx.de> Cc: u-boot@lists.denx.de Subject: [PATCH 3/3] watchdog: s5p_wdt: Include missing CPU header Date: Fri, 20 Oct 2023 16:46:33 -0500 Message-Id: <20231020214633.30883-4-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214633.30883-1-semen.protsenko@linaro.org> References: <20231020214633.30883-1-semen.protsenko@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
exynos: Include missing CPU headers
|
expand
|
diff --git a/drivers/watchdog/s5p_wdt.c b/drivers/watchdog/s5p_wdt.c index 5ad7d2609f04..80524a00101b 100644 --- a/drivers/watchdog/s5p_wdt.c +++ b/drivers/watchdog/s5p_wdt.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/io.h> +#include <asm/arch/cpu.h> #include <asm/arch/watchdog.h> #define PRESCALER_VAL 255
s5p watchdog driver calls samsung_get_base_watchdog() function, but its prototype is not included. That might lead to build warnings like this: drivers/watchdog/s5p_wdt.c: In function 'wdt_stop': drivers/watchdog/s5p_wdt.c:16:26: warning: implicit declaration of function 'samsung_get_base_watchdog' [-Wimplicit-function-declaration] 16 | (struct s5p_watchdog *)samsung_get_base_watchdog(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ Include asm/arch/cpu.h to fix that issue. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> --- drivers/watchdog/s5p_wdt.c | 1 + 1 file changed, 1 insertion(+)