]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
cciss: fix build for PROC_FS disabled
authorJens Axboe <jaxboe@fusionio.com>
Wed, 17 Nov 2010 10:56:13 +0000 (11:56 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 17 Nov 2010 10:56:13 +0000 (11:56 +0100)
commitbbe425cd9ae83eacd0c9f09df2bf56dc911a54cd
tree10d8079da77227e128ca38a4048ce8abe18f9fb4
parent3e9bb2a071614f1d185740f31ac503ecba11d783
cciss: fix build for PROC_FS disabled

The recent patch to fix the removal of a non-existing proc
directory introduced this build problem for !CONFIG_PROC_FS:

drivers/block/cciss.c:4929: error: 'proc_cciss' undeclared (first use in this function)

Fix it by moving proc_cciss outside of the CONFIG_PROC_FS scope.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c