drivers: use K_THREAD_STACK_DEFINE macros

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-06-02 14:08:45 -07:00 committed by Anas Nashif
commit 2d4a36fc1c
27 changed files with 38 additions and 30 deletions

View file

@ -33,7 +33,7 @@ struct gpio_sch_config {
#define GPIO_SCH_POLLING_MSEC 200
struct gpio_sch_data {
char __stack polling_stack[GPIO_SCH_POLLING_STACK_SIZE];
K_THREAD_STACK_MEMBER(polling_stack, GPIO_SCH_POLLING_STACK_SIZE);
struct k_thread polling_thread;
sys_slist_t callbacks;
struct k_timer poll_timer;