projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8fdc5
)
[SCSI] fix scsi_is_sdev_device() after switch to default sdev attributes
author
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 26 Sep 2007 17:54:49 +0000
(19:54 +0200)
committer
James Bottomley
<jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:51:48 +0000
(14:51 -0400)
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_sysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/scsi_sysfs.c
b/drivers/scsi/scsi_sysfs.c
index 0088c4dd7c6a4ceb9a41cef5e2a81f806f8db79a..8e880ef8b797a32ad2d3bff3f055241eec72f75a 100644
(file)
--- a/
drivers/scsi/scsi_sysfs.c
+++ b/
drivers/scsi/scsi_sysfs.c
@@
-995,7
+995,7
@@
void scsi_sysfs_device_initialize(struct scsi_device *sdev)
int scsi_is_sdev_device(const struct device *dev)
{
- return dev->
release == scsi_device_dev_releas
e;
+ return dev->
type == &scsi_dev_typ
e;
}
EXPORT_SYMBOL(scsi_is_sdev_device);