[PATCH] powerpc/msi: fix section mismatch warning
Stephen Rothwell
sfr at canb.auug.org.au
Wed Oct 21 17:42:56 AEDT 2015
Hi Denis,
On Wed, 21 Oct 2015 08:56:44 +0300 Denis Kirjanov <kda at linux-powerpc.org> wrote:
>
> diff --git a/arch/powerpc/include/asm/msi_bitmap.h b/arch/powerpc/include/asm/msi_bitmap.h
> index 1ec7125..fbd3424 100644
> --- a/arch/powerpc/include/asm/msi_bitmap.h
> +++ b/arch/powerpc/include/asm/msi_bitmap.h
> @@ -29,7 +29,7 @@ void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq);
>
> int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp);
>
> -int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
> +int __init_refok msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
> struct device_node *of_node);
I am pretty sure that we don't want or need the annotation in the header file.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
More information about the Linuxppc-dev
mailing list