[Top] [All Lists]

Re: [PATCH] Suppress compiler warnings

Subject: Re: [PATCH] Suppress compiler warnings
From: Geert Uytterhoeven <>
Date: Sun, 27 Aug 2006 14:12:03 +0200 (CEST)
Cc: Linux/MIPS Development <>, Ralf Baechle <>, Thomas K�r <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
On Sun, 27 Aug 2006 wrote:
> The excite platform exports hardware resources for device drivers to use.
> Any driver wanting to use these resources will look up them by their names.
> Since these resources are declared to have static linkage, but are not used
> in the source file defining them, the compiler used to emit an 'unused'
> warning, which this patch suppresses.

How can a driver look them up, if they are not linked in in some structure?



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>