Skip to contentSkip to conversation

ucb1400: static function in header file

DISCUSSION Geert Uytterhoeven 1 participant 1 message Oct 13, 2008

lore
Share & tools
lore
#0 lore raw

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 -- [email protected]

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