From: Dmitri Vorobiev Date: Tue, 16 Dec 2008 13:04:44 +0000 (+0200) Subject: [SCSI] sgiwd93: Fix compilation warning X-Git-Tag: v2.6.29-rc1~41^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b99b4c67db9b6dde67955b3746666505a48ec7ee;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed