Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3517375pxb; Mon, 9 Nov 2020 13:21:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzu2Ss2hea+yEUWTnuuetk25vR6VAdXfBCyV2vCMyZ3/DVn98G+oOkN4hSuvpDk7VPzWI9Q X-Received: by 2002:a50:fd19:: with SMTP id i25mr16981017eds.360.1604956910473; Mon, 09 Nov 2020 13:21:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604956910; cv=none; d=google.com; s=arc-20160816; b=yW7yK1hpxBjHcNgIZ7rc1slEL/iFxli3/o33cx3D4vcoQNpRG7IWJUF1a6aK7tZVTS 0T39N2zgBHFxa1UaYVAnDN8ock//Rxzhy62MfnJw4BW2tCivjDsbwJ1+fyCBO0noToTE 239BgRPqGTTgGQD15GVa7+gggmUAh9y4tj0Hynkc3LbrMsOJP4HF0ubPPtZ4ezdIfD6q /g7NPKRDiVLXpmzRmakZhI3amjLgAVTkm5G40kYhwKfE/o2YIZCo8g3Mwo/sXe4YQD5I 7eI2FjkghsfIt73N6aZc6Whn72T2iNNov3OACIqiOfs9sEbmZz2fC9XPQ3+OwVSKtddr NqBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f19bG5OlKZrzXa9sIoz5zZmJ+HLtlGgA3VlLSxdphFA=; b=dKKWRfJvL/fbcw1fCGxw2jID02cGWlZYBOK8mvxMwoNl2OBvPfAoPA563g1vB2U9mY rIRILzH+Wm6V1Ndtt4HElrQ1I52ocdIcfvza2k6JHMJnm6WHiocXgBGIeti0k+TkdfuD DB8b86fqbvrRwbyoAEbiaLSuKWZilVi2KlmslgC72P74TzM+rfbJNWQ0NyFlFmLbDFDl B3gYdatNAcV0wl56rbPNuIsDUrM7zSdzSBJUiZqB3GedJp4VLGSopl7Dlbo16ZuoJ563 sXDxaW6k3K1LYyeo5TdJTVLYsG/WzmK6ApwlFujH8OZ4IAqljjaQlws6+HOf2A93oDoS 7otQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aCa++B8s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si8025918ejb.17.2020.11.09.13.21.27; Mon, 09 Nov 2020 13:21:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aCa++B8s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731484AbgKIVTj (ORCPT + 99 others); Mon, 9 Nov 2020 16:19:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731446AbgKIVTg (ORCPT ); Mon, 9 Nov 2020 16:19:36 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B9D1C0613CF for ; Mon, 9 Nov 2020 13:19:36 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id 10so952122wml.2 for ; Mon, 09 Nov 2020 13:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f19bG5OlKZrzXa9sIoz5zZmJ+HLtlGgA3VlLSxdphFA=; b=aCa++B8skb7N4286tYGRf0uVCE5RA7rp82ko+LOn4nj7tYdW1Try+em3OvGh7LqyHJ MRu9QWNM2UQmP4ba30mnVaQj4DEhUYiDtJAvbyg6Z4WqzCMSMMBCywL5BuHEKRLTQ3Nt 2X145Ci6pyLdMT7zFdh2R7fTC99dcrsXD0EYw9LuP3OsGdalYW3SAGUiCeNOmz/E9yEK mchlHxBojyQih21VMFDS9OpCNNLApP66gmN4r2PoS0bM6GwOpg6mRa2jMWrpl7BtEGXH FFXqxiP6DlTTZZGtyKGVzWqpe9Tq3bxgTloLVFtq3gA13n/n1cc5NsUa3HUiCib0YktV cJBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f19bG5OlKZrzXa9sIoz5zZmJ+HLtlGgA3VlLSxdphFA=; b=LEkfIX5ayC+vEUcU7Tkvt/70EUsE76sT00hGM0htprvMjbx1fI11uK1oxAIKgKHlp3 f6ZGz2cz+PeSw7BGmGprdjMPP07aR3cjJBQsLCtYLlkhIfn6cK7G+WyqKUiC0CwPgcpz DjDKmTazQd0EtAM1Z/ebPRvT32Odqlm2xA5EhGsQ4yiEHLjp5FhZjUFJKSsUl7zRdzxC xK0nR0u+IyibQrat4ua1HkHeaNO6JEglSIYe9bznLC5YsncoazaRR96wS8sT5Qq+moqt KzcqzjAkxrB7X8HwQiYPM3cu/GKZQNS8GVgedQJWBOM81EB9QcNBA/PK/xRMRFazo9pT X+bA== X-Gm-Message-State: AOAM531ToI/29j3LM6803yvDj1FcnQWMogvdqnnNvm5Etc7+VSKifgi5 CeGrOg4YhqfoS/xLtG5V2fc4Tg== X-Received: by 2002:a1c:2905:: with SMTP id p5mr1138832wmp.187.1604956775281; Mon, 09 Nov 2020 13:19:35 -0800 (PST) Received: from dell.default ([91.110.221.139]) by smtp.gmail.com with ESMTPSA id 71sm15170630wrm.20.2020.11.09.13.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 13:19:34 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 14/20] drm/radeon: Move 'radeon_pm_acpi_event_handler' prototype into shared header Date: Mon, 9 Nov 2020 21:18:49 +0000 Message-Id: <20201109211855.3340030-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109211855.3340030-1-lee.jones@linaro.org> References: <20201109211855.3340030-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/rv770.c:1138:6: warning: no previous prototype for ‘rv770_set_clk_bypass_mode’ [-Wmissing-prototypes] 1138 | void rv770_set_clk_bypass_mode(struct radeon_device *rdev) | ^~~~~~~~~~~~~~~~~~~~~~~~~ Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/radeon/radeon.h | 1 + drivers/gpu/drm/radeon/radeon_acpi.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 32a2c894ee3ff..1cbbaff7cede2 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -291,6 +291,7 @@ void radeon_pm_fini(struct radeon_device *rdev); void radeon_pm_compute_clocks(struct radeon_device *rdev); void radeon_pm_suspend(struct radeon_device *rdev); void radeon_pm_resume(struct radeon_device *rdev); +void radeon_pm_acpi_event_handler(struct radeon_device *rdev); void radeon_combios_get_power_modes(struct radeon_device *rdev); void radeon_atombios_get_power_modes(struct radeon_device *rdev); int radeon_atom_get_clock_dividers(struct radeon_device *rdev, diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c index 6cf1645e7a1a8..0eb594b56af8c 100644 --- a/drivers/gpu/drm/radeon/radeon_acpi.c +++ b/drivers/gpu/drm/radeon/radeon_acpi.c @@ -45,8 +45,6 @@ static inline bool radeon_atpx_dgpu_req_power_for_displays(void) { return false; #define ACPI_AC_CLASS "ac_adapter" -extern void radeon_pm_acpi_event_handler(struct radeon_device *rdev); - struct atif_verify_interface { u16 size; /* structure size in bytes (includes size field) */ u16 version; /* version */ -- 2.25.1