From patchwork Tue May 13 15:34:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 30069 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EFB3F20369 for ; Tue, 13 May 2014 15:35:37 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id w7sf1385708qcr.4 for ; Tue, 13 May 2014 08:35:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=9NjL/WEINi4LwIVviolxXESR+mXO4GpC3jDCmr0kb5E=; b=LukUjUVZomw22Ep9fL8WGA6OV1uVXLNrAx8lW85Ro9RlPOG78MrLmYqzkFalWSZQp3 NkaTAp0ABC3bLoZyDr6hVLhxjRn0zHHjEIJadPEUQhMyBKJkBndSgGYmx8QN0zcUL5Re XWhnixzOY9FDz+u+7/m8OEgcNBVL5oT+BUrRCAQkk258mwv/Q+rMtoBGGAJoRM8po3dz Ci+/Dm0RvoQ3vp+6E1Wpe5PfNs2ykyqoJ4xAzwFLFrJPXYb4n/KBXpAZZQHraYBqL9PS qmvm4cAck8ARzrqdRBBc7JAXu8z+zli0oS17KeenzX1djYCBIIfOeMCIni59D75evyKQ PgtQ== X-Gm-Message-State: ALoCoQk3RyjJlUWkSpDh1zoMVVBDTNk0iUTx2Y1PeqVZDUYZYumk52mhh0dTqh1895e7olhNUaix X-Received: by 10.58.94.232 with SMTP id df8mr17001601veb.23.1399995337693; Tue, 13 May 2014 08:35:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.43.35 with SMTP id d32ls2006888qga.87.gmail; Tue, 13 May 2014 08:35:37 -0700 (PDT) X-Received: by 10.58.85.65 with SMTP id f1mr29425854vez.20.1399995337478; Tue, 13 May 2014 08:35:37 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id qw5si2707444vcb.156.2014.05.13.08.35.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 08:35:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id im17so674246vcb.24 for ; Tue, 13 May 2014 08:35:37 -0700 (PDT) X-Received: by 10.52.125.147 with SMTP id mq19mr13353559vdb.2.1399995337310; Tue, 13 May 2014 08:35:37 -0700 (PDT) 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.220.221.72 with SMTP id ib8csp160682vcb; Tue, 13 May 2014 08:35:36 -0700 (PDT) X-Received: by 10.66.155.102 with SMTP id vv6mr65082070pab.89.1399995336596; Tue, 13 May 2014 08:35:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xi3si8154677pab.111.2014.05.13.08.35.35; Tue, 13 May 2014 08:35:35 -0700 (PDT) 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 S1758064AbaEMPfQ (ORCPT + 27 others); Tue, 13 May 2014 11:35:16 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:41408 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754004AbaEMPec (ORCPT ); Tue, 13 May 2014 11:34:32 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4DFYC4Q015178; Tue, 13 May 2014 10:34:12 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4DFYC7u003700; Tue, 13 May 2014 10:34:12 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Tue, 13 May 2014 10:34:12 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4DFYBr7018256; Tue, 13 May 2014 10:34:11 -0500 From: Felipe Balbi To: , , , CC: Linux Kernel Mailing List , Alan Stern , Felipe Balbi Subject: [PATCH] reset: stub out devm_reset_control_get() Date: Tue, 13 May 2014 10:34:05 -0500 Message-ID: <1399995245-15095-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.0.rc1 MIME-Version: 1.0 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: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 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: , without that stub, drivers will fail to build when CONFIG_RESET_CONTROLLER=n. Signed-off-by: Felipe Balbi --- include/linux/reset.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/reset.h b/include/linux/reset.h index c0eda50..aa94420 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -75,6 +75,12 @@ static inline struct reset_control *devm_reset_control_get_optional( return ERR_PTR(-ENOSYS); } +static inline struct reset_control *devm_reset_control_get( + struct device *dev, const char *id) +{ + return ERR_PTR(-ENOSYS); +} + #endif /* CONFIG_RESET_CONTROLLER */ #endif