Re: [PATCH 2/2] Blackfin Serial Driver: Add a debug function to serial driver.

From: Mike Frysinger
Date: Fri Aug 15 2008 - 08:47:25 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/