1. 18 Jan, 2011 3 commits
    • Axel Lin's avatar
      6c9571f4
    • Axel Lin's avatar
      video: nuc900fb: fix compile error · d10df505
      Axel Lin authored
      This patch fixes below compile error:
      
        CC      drivers/video/nuc900fb.o
      drivers/video/nuc900fb.c: In function 'nuc900fb_suspend':
      drivers/video/nuc900fb.c:726: error: too few arguments to function 'nuc900fb_stop_lcd'
      drivers/video/nuc900fb.c: In function 'nuc900fb_resume':
      drivers/video/nuc900fb.c:743: error: 'bfinfo' undeclared (first use in this function)
      drivers/video/nuc900fb.c:743: error: (Each undeclared identifier is reported only once
      drivers/video/nuc900fb.c:743: error: for each function it appears in.)
      make[2]: *** [drivers/video/nuc900fb.o] Error 1
      make[1]: *** [drivers/video] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Acked-by: default avatarWan ZongShun <mcuos.com@gmail.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      d10df505
    • Andres Salomon's avatar
      staging: fix build failure in bcm driver · e6f597a1
      Andres Salomon authored
      While building latest Linus git, I hit the following:
      
          CC [M]  drivers/staging/bcm/Qos.o
        drivers/staging/bcm/Qos.c: In function ‘PruneQueue’:
        drivers/staging/bcm/Qos.c:367: error: ‘struct netdev_queue’ has no member named ‘tx_dropped’
        drivers/staging/bcm/Qos.c: In function ‘flush_all_queues’:
        drivers/staging/bcm/Qos.c:416: error: ‘struct netdev_queue’ has no member named ‘tx_dropped’
        make[5]: *** [drivers/staging/bcm/Qos.o] Error 1
        make[4]: *** [drivers/staging/bcm] Error 2
        make[3]: *** [drivers/staging] Error 2
      
      As well as:
      
          CC [M]  drivers/staging/bcm/Transmit.o
        drivers/staging/bcm/Transmit.c: In function ‘SetupNextSend’:
        drivers/staging/bcm/Transmit.c:163: error: ‘struct netdev_queue’ has no member named ‘tx_bytes’
        drivers/staging/bcm/Transmit.c:164: error: ‘struct netdev_queue’ has no member named ‘tx_packets’
        make[2]: *** [drivers/staging/bcm/Transmit.o] Error 1
      
      tx_dropped/tx_bytes_tx_packets were removed in commit 1ac9ad13.  This patch
      converts bcm to use net_device_stats instead of netdev_queue.
      Acked-by: default avatarStephen Hemminger <shemminger@vyatta.com>
      Acked-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: default avatarAndres Salomon <dilinger@queued.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e6f597a1
  2. 17 Jan, 2011 37 commits