greybus: kernel_ver: add list_last_entry for old kernels
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 16 Jul 2015 09:44:01 +0000 (11:44 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 16 Jul 2015 16:57:20 +0000 (09:57 -0700)
commit93047af23c8389d1a63883dcb59cd8c2fd472b45
tree9308b6706cf63a6384c7d48e3c51f2cae2a9d834
parent129a06f541d3ff4228589b4b9f0a4681dafb0042
greybus: kernel_ver: add list_last_entry for old kernels

Add list_last_entry macro for kernels older than 3.13.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/kernel_ver.h