[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8bd0f97a0808150547x3abb3f47ha1438e8e7af1bfe5@mail.gmail.com>
Date: Fri, 15 Aug 2008 08:47:09 -0400
From: "Mike Frysinger" <vapier.adi@...il.com>
To: "Bryan Wu" <cooloney@...nel.org>
Cc: alan@...rguk.ukuu.org.uk, linux-kernel@...r.kernel.org,
"Graf Yang" <graf.yang@...log.com>
Subject: Re: [PATCH 2/2] Blackfin Serial Driver: Add a debug function to serial driver.
On Fri, Aug 15, 2008 at 4:23 AM, Bryan Wu wrote:
> +#ifdef CONFIG_DEBUG_KERNEL
> + ...
> +#else
> +void bfin_serial_debug(const char *fmt, ...)
> +{
> + return;
> +}
> +EXPORT_SYMBOL(bfin_serial_debug);
> +#endif
it doesnt really make sense to export the symbol or make it available
when debugging is not enabled.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists