s5j/gpio: fix compilation error when CONFIG_SCHED_WORKQUEUE=n
authorEunBong Song <eunb.song@samsung.com>
Mon, 13 Mar 2017 01:59:33 +0000 (10:59 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 10:08:45 +0000 (19:08 +0900)
commit437abb0b15dab4435073aafb5a54bff4a28ffa84
treef1cf7681b0e9985913ce2a9a332df3ed851ac572
parent0334e1f5b066e8a90a2c6d37ea4254164d01dcee
s5j/gpio: fix compilation error when CONFIG_SCHED_WORKQUEUE=n

When CONFIG_SCHED_WORKQUEUE is not enabled, gpio driver should not use
work queue function. If not, compilation fails.

Change-Id: I2f98874107f0ca2289066850da29d3dec28f371e
Signed-off-by: EunBong Song <eunb.song@samsung.com>
os/arch/arm/src/s5j/s5j_gpio.c
os/include/tinyara/gpio.h