[SCSI] fix compile error on module_refcount
authorDaniel Walker <dwalker@mvista.com>
Sat, 9 Sep 2006 16:31:03 +0000 (09:31 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 12 Sep 2006 14:17:30 +0000 (09:17 -0500)
commita506b44bb5000b2652490a906c3e58beb2a8f6bb
tree04a2c62f244cdacb88f7a8377c16783e04e66a88
parent2b7cbe20174695bca1afe2a8f755e1eb299f4768
[SCSI] fix compile error on module_refcount

  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x8e1f9): In function `scsi_device_put':
drivers/scsi/scsi.c:887: undefined reference to `module_refcount'
make: *** [.tmp_vmlinux1] Error 1

There are only two users of module_refcount() outside of kernel/module.c
and the other one uses ifdef's similar to this.

Signed-Off-By: Daniel Walker <dwalker@mvista.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi.c