From: Mike Pagano Date: Fri, 11 Apr 2008 04:29:26 +0000 (-0700) Subject: cciss: error: implicit declaration of function 'sg_init_table' X-Git-Tag: v2.6.25-rc9~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=231bc2a222411f43bfb0fbb6d64c0f34c7b1039f;p=linux-2.6 cciss: error: implicit declaration of function 'sg_init_table' This patch adds the missing include directive to the cciss.c source file.   This was discovered by our release team when building the kernel for the Alpha architecture. Errors were found as references to functions 'sg_init_table' and 'sg_page' do not exist without the include for Alpha. Signed-off-by: Mike Pagano Cc: Jens Axboe Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 55bd35c0f0..9c9627e8e3 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c @@ -50,6 +50,7 @@ #include #include #include +#include #define CCISS_DRIVER_VERSION(maj,min,submin) ((maj<<16)|(min<<8)|(submin)) #define DRIVER_NAME "HP CISS Driver (v 3.6.14)"