From patchwork Mon May 12 23:02:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 4161311 X-Patchwork-Delegate: vinod.koul@intel.com Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 651A4C0ACC for ; Mon, 12 May 2014 23:02:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5C5620320 for ; Mon, 12 May 2014 23:02:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DAFAD20304 for ; Mon, 12 May 2014 23:02:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752723AbaELXCW (ORCPT ); Mon, 12 May 2014 19:02:22 -0400 Received: from perceval.ideasonboard.com ([95.142.166.194]:52736 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752622AbaELXCV (ORCPT ); Mon, 12 May 2014 19:02:21 -0400 Received: from avalon.ideasonboard.com (unknown [91.178.198.105]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 24FBF35A00; Tue, 13 May 2014 00:59:36 +0200 (CEST) From: Laurent Pinchart To: dmaengine@vger.kernel.org Cc: linux-sh@vger.kernel.org, Vinod Koul , Dan Williams Subject: [PATCH 4/6] DMA: sudmac: Include linux/err.h Date: Tue, 13 May 2014 01:02:14 +0200 Message-Id: <1399935736-16854-5-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 1.8.5.5 In-Reply-To: <1399935736-16854-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1399935736-16854-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP linux/err.h isn't implicitly included by the current headers on all platforms, resulting in compilation failures due to implicit declarations of IS_ERR and PTR_ERR. Fix this by including linux/err.h. Signed-off-by: Laurent Pinchart --- drivers/dma/sh/sudmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c index b5b7e54..3ce1039 100644 --- a/drivers/dma/sh/sudmac.c +++ b/drivers/dma/sh/sudmac.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include