Skip to content

Commit

Permalink
iommu: Include linux/err.h
Browse files Browse the repository at this point in the history
The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.

Cc:joro@8bytes.org
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
  • Loading branch information
Wang YanQing authored and Joerg Roedel committed Apr 19, 2013
1 parent 41ef2d5 commit 9a08d37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/iommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#define __LINUX_IOMMU_H

#include <linux/errno.h>
#include <linux/err.h>
#include <linux/types.h>

#define IOMMU_READ (1)
Expand Down

0 comments on commit 9a08d37

Please sign in to comment.