diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-12-16 14:04:44 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 17:58:41 +0100 |
commit | b99b4c67db9b6dde67955b3746666505a48ec7ee (patch) | |
tree | 3b6b53f6ac2dd3bc09b392fc1f1ed57722409bd3 /CREDITS | |
parent | [SCSI] ibmvfc: Fixup command response translation (diff) | |
download | linux-b99b4c67db9b6dde67955b3746666505a48ec7ee.tar.xz linux-b99b4c67db9b6dde67955b3746666505a48ec7ee.zip |
[SCSI] sgiwd93: Fix compilation warning
The remove() callback in platform drivers should return int in
accordance to the definition of the platform_driver structure.
However, the SGI-specific WD93 SCSI controller driver defines
the callback as a void function, which causes the following
compilation warning:
drivers/scsi/sgiwd93.c:314: warning: initialization from
incompatible pointer type
This patch fixes the warning by changing the return type of
the remove() callback to what the core driver code requires.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions