Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9f418646 authored by Amit Pundir's avatar Amit Pundir
Browse files

ANDROID: sched_param: Include uapi/linux/sched/types.h>



Upstream commit e2d1e2ae ("sched/headers: Move various ABI
definitions to <uapi/linux/sched/types.h>") moved struct sched_param
definition to <uapi/linux/sched/types.h>. Hence include that otherwise
we run into related build errors:

  CC [M]  drivers/mmc/core/queue.o
drivers/mmc/core/queue.c: In function ‘mmc_queue_thread’:
drivers/mmc/core/queue.c:50:9: error: variable ‘scheduler_params’ has initializer but incomplete type
  struct sched_param scheduler_params = {0};
         ^
drivers/mmc/core/queue.c:50:41: warning: excess elements in struct initializer struct sched_param scheduler_params = {0};
                                         ^
drivers/mmc/core/queue.c:50:41: note: (near initialization for ‘scheduler_params’)
drivers/mmc/core/queue.c:50:21: error: storage size of ‘scheduler_params’ isn’t known
  struct sched_param scheduler_params = {0};
                     ^

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 26ca0798
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment