target: Don't use void* when passing dev in core_tpg_add_lun
authorAndy Grover <agrover@redhat.com>
Fri, 13 Dec 2013 00:12:33 +0000 (16:12 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 16 Dec 2013 21:29:20 +0000 (13:29 -0800)
commit340dbf729c3395cf1317890d033aa9ac7347766c
tree6b3bd411dd9f70c83b9d6b096dc3211562bdd8c7
parentd344f8a15637e8b57a0d05a6d50182c11de08606
target: Don't use void* when passing dev in core_tpg_add_lun

Especially since it's actually a device.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_internal.h
drivers/target/target_core_tpg.c