1. Nov 20, 2010
    • Randy Dunlap's avatar
      staging: fix winbond build, needs delay.h · 412dc7f3
      Randy Dunlap authored
      
      
      winbond drivers use msleep() and delay(), so include linux/delay.h
      in a common header file to prevent build errors.
      
      drivers/staging/winbond/phy_calibration.c:987: error: implicit declaration of function 'msleep'
      drivers/staging/winbond/phy_calibration.c:1556: error: implicit declaration of function 'udelay'
      drivers/staging/winbond/reg.c:894: error: implicit declaration of function 'msleep'
      drivers/staging/winbond/reg.c:1178: error: implicit declaration of function 'udelay'
      
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      412dc7f3
  2. Nov 19, 2010
  3. Nov 18, 2010
    • Yong Wang's avatar
      staging: spectra: fix build error · 73e1cc4a
      Yong Wang authored
      
      
      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: default avatarYong Wang <yong.y.wang@intel.com>
      Cc: Tejun Heo <tj@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      73e1cc4a
  4. Nov 17, 2010
  5. Nov 16, 2010