common: console_console: put functions under correct ifdef
So they aren't build when no console support is selected.

Fixes:
In function `console_get_by_dev': undefined reference to `console_list'

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 68f772e commit 0914ad88d270af63f0107b2755aa8360b6d81dd5
@Lucas Stach Lucas Stach authored on 18 Jan 2015
Sascha Hauer committed on 19 Jan 2015
Showing 1 changed file
View
common/console_common.c