Re: [PATCH 2/2] iommu: Include linux/notifier.h

2012-08-03 Thread Thierry Reding
On Fri, Aug 03, 2012 at 04:08:26PM +0200, Joerg Roedel wrote: > On Wed, Jul 25, 2012 at 04:24:50PM +0200, Thierry Reding wrote: > > The linux/iommu.h header uses types defined in linux/notifier.h but > > doesn't include it. > > > > Signed-off-by: Thierry Reding > > Better than adding the header-

Re: [PATCH 2/2] iommu: Include linux/notifier.h

2012-08-03 Thread Joerg Roedel
On Wed, Jul 25, 2012 at 04:24:50PM +0200, Thierry Reding wrote: > The linux/iommu.h header uses types defined in linux/notifier.h but > doesn't include it. > > Signed-off-by: Thierry Reding Better than adding the header-file is to add a forward declaration for struct notifier_block. I added a pa

[PATCH 2/2] iommu: Include linux/notifier.h

2012-07-25 Thread Thierry Reding
The linux/iommu.h header uses types defined in linux/notifier.h but doesn't include it. Signed-off-by: Thierry Reding --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 9cbcc6a..4f64020 100644 --- a/include/linux/iomm