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

From: Thierry Reding
Date: Fri Aug 03 2012 - 10:27:04 EST


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 <thierry.reding@xxxxxxxxxxxxxxxxx>
>
> Better than adding the header-file is to add a forward declaration for
> struct notifier_block. I added a patch to iommu/fixes for this.

Yes, that would also work.

Thierry

Attachment: pgp00000.pgp
Description: PGP signature