ucb1400: static function in header file

From: Geert Uytterhoeven
Date: Mon Oct 13 2008 - 02:57:18 EST



Compiling the ucb1400 driver gives me:

| include/linux/ucb1400.h:139: warning: 'ucb1400_adc_read' defined but not used

because ucb1400_adc_read is static, but not inline.
Please either make it inline, or move it out of the header file (it's
not that small).

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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
--
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/