From patchwork Sat Jan 10 21:51:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 42940 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B934F2055F for ; Sat, 10 Jan 2015 21:52:05 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id bs8sf3722272wib.2 for ; Sat, 10 Jan 2015 13:52:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=wfOwPOn2l1oYhuzdDQoWuD6P7h+Q+7KQQe7mgHDhDq4=; b=ZvuxGjYMNVKQCDoiYDBWbzKvuaEtLju+wYEnMNdrAJPz+YdpkDxy1nIpk3LPKjnelO +fflyZlATSeI85g4xwiwsG7JkccdzoC3/c/ZV+L9tPIsXDfRewxrTDUscA0ObcXL5y+l 1qw4UNMVCD2HMZyyVMEM5Qt7CecSdh3l4sKP5uKyEhb5xbqXbSS61Q7Eef7hhwfXN919 9pcwUy3qvo9gzBG2EHcs3oQXJGZhyfF0t3+kE/37xoA/gWvBwpHJiCkw2ofLG/x1FKbH GMUPzAHtG+0RGuFK4SJgFw/mCiKixiTeONv3N8weuKRp8BZNaY+uIWy2L9MAuONFrAp3 f07g== X-Gm-Message-State: ALoCoQk9QYlii3x876/LhoPZZqDsFWL3oRly/E5EWgO6FSUjlxxPGVpkIs9USVJJ+TDruYyqd2wQ X-Received: by 10.112.161.201 with SMTP id xu9mr6032lbb.11.1420926724617; Sat, 10 Jan 2015 13:52:04 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.74 with SMTP id q10ls535260laq.43.gmail; Sat, 10 Jan 2015 13:52:04 -0800 (PST) X-Received: by 10.152.6.67 with SMTP id y3mr28909377lay.90.1420926724446; Sat, 10 Jan 2015 13:52:04 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id e1si17245084laa.119.2015.01.10.13.52.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 10 Jan 2015 13:52:04 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id p9so12954758lbv.7 for ; Sat, 10 Jan 2015 13:52:04 -0800 (PST) X-Received: by 10.112.131.1 with SMTP id oi1mr28525211lbb.2.1420926724144; Sat, 10 Jan 2015 13:52:04 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp699461lbb; Sat, 10 Jan 2015 13:52:03 -0800 (PST) X-Received: by 10.66.162.105 with SMTP id xz9mr33536305pab.77.1420926722388; Sat, 10 Jan 2015 13:52:02 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id iz2si18386413pbd.196.2015.01.10.13.52.01; Sat, 10 Jan 2015 13:52:02 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755405AbbAJVv7 (ORCPT + 27 others); Sat, 10 Jan 2015 16:51:59 -0500 Received: from mail-la0-f49.google.com ([209.85.215.49]:44295 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752903AbbAJVv6 (ORCPT ); Sat, 10 Jan 2015 16:51:58 -0500 Received: by mail-la0-f49.google.com with SMTP id hs14so19347560lab.8 for ; Sat, 10 Jan 2015 13:51:56 -0800 (PST) X-Received: by 10.152.87.142 with SMTP id ay14mr29048001lab.45.1420926716534; Sat, 10 Jan 2015 13:51:56 -0800 (PST) Received: from localhost.localdomain (s83-179-52-10.cust.tele2.se. [83.179.52.10]) by mx.google.com with ESMTPSA id t10sm2787795lat.31.2015.01.10.13.51.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Jan 2015 13:51:55 -0800 (PST) From: Linus Walleij To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org, Linus Walleij , Mika Westerberg Subject: [PATCH] pinctrl: pass -DDEBUG in subdirs Date: Sat, 10 Jan 2015 22:51:52 +0100 Message-Id: <1420926712-13447-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When drivers are compiled in subdirectories the -DDEBUG flag need to be passed in the individual Makefiles. Reported-by: Mika Westerberg Suggested-by: Yingjoe Chen Cc: Mika Westerberg Signed-off-by: Linus Walleij --- This replaces Mika's patch too. --- drivers/pinctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index c030b3db8034..c7139ba195fe 100644 --- a/drivers/pinctrl/Makefile +++ b/drivers/pinctrl/Makefile @@ -1,6 +1,6 @@ # generic pinmux support -ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG +subdir-ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG obj-$(CONFIG_PINCTRL) += core.o pinctrl-utils.o obj-$(CONFIG_PINMUX) += pinmux.o