]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
staging: spectra: fix build error
authorYong Wang <yong.y.wang@linux.intel.com>
Wed, 17 Nov 2010 13:02:13 +0000 (21:02 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 17 Nov 2010 19:57:43 +0000 (11:57 -0800)
commit73e1cc4a4a02cfd2d520355de56ce1dafa11dd59
tree19dbe1bf2f199b4591d7118ab22d386e007e32ec
parent3251627c943f1cfc5bfad7c38d4e8d85cf44c6d8
staging: spectra: fix build error

blk_queue_ordered() has been deprecated and replaced with
blk_queue_flush() by Tejun. However, use of blk_queue_ordered()
in spectra nand driver has not been converted yet and thus results
in the following build error.

drivers/staging/spectra/ffsport.c: In function SBD_setup_device:
drivers/staging/spectra/ffsport.c:659: error: implicit declaration of function blk_queue_ordered
drivers/staging/spectra/ffsport.c:659: error: QUEUE_ORDERED_DRAIN_FLUSH undeclared (first use in this function)
drivers/staging/spectra/ffsport.c:659: error: (Each undeclared identifier is reported only once
drivers/staging/spectra/ffsport.c:659: error: for each function it appears in.)

Signed-off-by: Yong Wang <yong.y.wang@intel.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/spectra/ffsport.c