Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754103Ab1FHV3X (ORCPT ); Wed, 8 Jun 2011 17:29:23 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:44616 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751951Ab1FHV3V (ORCPT ); Wed, 8 Jun 2011 17:29:21 -0400 X-IronPort-AV: E=McAfee;i="5400,1158,6371"; a="96298744" From: Laura Abbott To: iommu@lists.linux-foundation.org, Tom Lyon , Joerg Roedel Cc: Laura Abbott , linux-kernel@vger.kernel.org Subject: [PATCH] iommu-api: Add missing header file Date: Wed, 8 Jun 2011 14:29:11 -0700 Message-Id: <1307568552-9239-1-git-send-email-lauraa@codeaurora.org> X-Mailer: git-send-email 1.7.3.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 29 If CONFIG_IOMMU_API is not defined some functions will just return -ENODEV. Add errno.h for the definition of ENODEV. Signed-off-by: Laura Abbott --- include/linux/iommu.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 0a2ba40..9940319 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -19,6 +19,8 @@ #ifndef __LINUX_IOMMU_H #define __LINUX_IOMMU_H +#include + #define IOMMU_READ (1) #define IOMMU_WRITE (2) #define IOMMU_CACHE (4) /* DMA cache coherency */ -- 1.7.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/