Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp510449yba; Wed, 3 Apr 2019 13:14:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVW0Y7dr6B1Aj+u9xUB9NzIo7UktJwJwsI1p8+A44wiOx7yCd00BhsSbFUUZw+2e5NtEEk X-Received: by 2002:a17:902:15a8:: with SMTP id m37mr2042263pla.178.1554322474755; Wed, 03 Apr 2019 13:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554322474; cv=none; d=google.com; s=arc-20160816; b=g5XMzgW5Ic+vtuKfObv1mIhylV+xzl2rMA5R8151pPE4YhB9e6UFvkQfMctYU5NJUU sE1Wuzoez9WnqPfjyy5XSg84ZsEUWxRNZJUKoeDtLMXlJcikLzV0i0J8DzDhkZOF32GC /0DnD7nfDQ9LozKudxNNXelSs6iVdFKPUrLHPnUS1NPBtip0y1+VUoImNT9h6zfjQIic 3e06V7PHZF3wilKo3rjklsIpSCwfXmk50m+rtf8KN5NdeBbzuA05nrORWrmnfk14lsNv 27PnS48A8syeJnIuT+cmcp95NfmB6X7Ba5ufxtHL4wDjVipzfnUiX52YXJ9RYA7FksHF oS0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=//CKnZvAz2Se2qa84fFwWLNSjCM2UK3rwddB/LLPnQw=; b=qjlGc2XSopqyTBmBDtnkrbgVA0ltB97QPf+7dviVltk/0ybvgv8BcZ/Sxu38ipLjrG oW1qcxYZm+i5OmS+9lK5cOKl7tzfwBGRUpXIN+QcYrFhTa9QBtkIbNatBNjxaPoqRKfv bUcQZf4S6bFXLSU5LZpmX9/ZesIZ8yUIUSNhRY4Hn7K9Zwy8c8c2q79hA+Y3fOpDrKJu SGG+xF/6X7Vw2j+vmZBd6TvU9nTjjhheS/gFvJMCc9Yina0cvhhR+22OBOm5LKWcMyCr 7UJyMAVQp6eW+8R+NN3RhZAIZk9XvfEklXG9TP02qG7wrckcnxDuTOnYYizXqnLu3KVO 7qXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3si13911482pff.61.2019.04.03.13.14.19; Wed, 03 Apr 2019 13:14:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726532AbfDCUNj (ORCPT + 99 others); Wed, 3 Apr 2019 16:13:39 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:51986 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbfDCUNh (ORCPT ); Wed, 3 Apr 2019 16:13:37 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id ED3132827FB From: Sebastian Reichel To: Sebastian Reichel , Tomi Valkeinen , Tony Lindgren , Pavel Machek , Laurent Pinchart Cc: "H. Nikolaus Schaller" , dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCHv6 1/4] drm/omap: use DRM_DEBUG_DRIVER instead of CORE Date: Wed, 3 Apr 2019 22:13:23 +0200 Message-Id: <20190403201326.3127-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190403201326.3127-1-sebastian.reichel@collabora.com> References: <20190403195413.djfrgzuj7povdksi@earth.universe> <20190403201326.3127-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This macro is only used by omapdrm, which should print debug messages using the DRIVER category instead of the default CORE category. Acked-by: Pavel Machek Tested-by: Tony Lindgren Tested-by: Pavel Machek Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_drv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.h b/drivers/gpu/drm/omapdrm/omap_drv.h index 3cca45cb25f3..896aa12f09b2 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.h +++ b/drivers/gpu/drm/omapdrm/omap_drv.h @@ -37,8 +37,8 @@ #include "omap_irq.h" #include "omap_plane.h" -#define DBG(fmt, ...) DRM_DEBUG(fmt"\n", ##__VA_ARGS__) -#define VERB(fmt, ...) if (0) DRM_DEBUG(fmt, ##__VA_ARGS__) /* verbose debug */ +#define DBG(fmt, ...) DRM_DEBUG_DRIVER(fmt"\n", ##__VA_ARGS__) +#define VERB(fmt, ...) if (0) DRM_DEBUG_DRIVER(fmt, ##__VA_ARGS__) /* verbose debug */ #define MODULE_NAME "omapdrm" -- 2.20.1