staging: tidspbridge: use the right type for list_is_last
authorOmar Ramirez Luna <omar.ramirez@ti.com>
Wed, 8 Dec 2010 22:20:23 +0000 (22:20 +0000)
committerOmar Ramirez Luna <omar.ramirez@ti.com>
Sat, 5 Feb 2011 02:11:47 +0000 (20:11 -0600)
commita994b051b6cb246bb8843b3fbb7dea4185a01399
tree5ba09e4a7572b1260c3103e9b0ae68a8c6b33c38
parentba44df6f8875c0e56d5923d742face59d81b8dc7
staging: tidspbridge: use the right type for list_is_last

Removes the following warning:

  CC [M]  drivers/staging/tidspbridge/rmgr/rmm.o
drivers/staging/tidspbridge/rmgr/rmm.c: In function 'rmm_alloc':
drivers/staging/tidspbridge/rmgr/rmm.c:147: warning: passing
argument 1 of 'list_is_last' from incompatible pointer type
include/linux/list.h:170: note: expected 'const struct list_head *'
but argument is of type 'struct rmm_ovly_sect *'

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Ionut Nicu <ionut.nicu@mindbit.ro>
drivers/staging/tidspbridge/rmgr/rmm.c