1. 05 7月, 2008 1 次提交
    • A
      fsl_diu_fb: fix build with CONFIG_PM=y, plus fix some warnings · 05946bce
      Anton Vorontsov 提交于
      This patch fixes following build error when CONFIG_PM is set.
      
        CC      drivers/video/fsl-diu-fb.o
      drivers/video/fsl-diu-fb.c: In function 'fsl_diu_suspend':
      drivers/video/fsl-diu-fb.c:1327: error: 'ofdev' undeclared (first use in this function)
      drivers/video/fsl-diu-fb.c:1327: error: (Each undeclared identifier is reported only once
      drivers/video/fsl-diu-fb.c:1327: error: for each function it appears in.)
      drivers/video/fsl-diu-fb.c: In function 'fsl_diu_resume':
      drivers/video/fsl-diu-fb.c:1337: error: 'ofdev' undeclared (first use in this function)
      
      While I'm at it, also fix this warning:
      
      drivers/video/fsl-diu-fb.c: In function 'fsl_diu_alloc':
      drivers/video/fsl-diu-fb.c:314: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'phys_addr_t'
      
      And these section mismatches:
      
      ..from the function fsl_diu_remove() to the function .exit.text:uninstall_fb()
      ..from the function fsl_diu_remove() to the function .exit.text:uninstall_fb()
      ..from the function install_fb() to the variable .devinit.data:fsl_diu_mode_db
      ..from the function install_fb() to the variable .devinit.data:fsl_diu_mode_db
      ..from the function fsl_diu_probe() to the function .exit.text:uninstall_fb()
      ..from the function fsl_diu_probe() to the function .exit.text:uninstall_fb()
      
      Also, some sparse fixes: make two functions static, and use NULL where
      appropriate. There are still a lot of sparse warnings, mainly wrt absence
      of __iomem annotations, but some will require ugly __force stuff. I'll leave
      them for now, since proper fix would be not that trivial as few one-liners
      below.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Cc: Timur Tabi <timur@freescale.com>
      Cc: Antonino Daplas <adaplas@gmail.com>
      Cc: York Sun <yorksun@freescale.com>
      Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      05946bce
  2. 26 6月, 2008 1 次提交
  3. 22 6月, 2008 2 次提交
  4. 13 6月, 2008 2 次提交
  5. 12 6月, 2008 2 次提交
  6. 11 6月, 2008 1 次提交
    • R
      sparc: get leo framebuffer working · 738eca74
      Robert Reif 提交于
      This patch fixes several issues:
          Use the right openprom device name so the driver is actually loaded.
          Fix a crash due to unitialized info->pseudo_palette.
          Put the framebuffer in the proper mode for software rendering.
          checkpatch cleanups.
      
      Hardware acceleration was removed when the driver was rewritten
      for the new framebuffer API in 2003. Software rendering requires
      a different framebuffer access mode but that wasn't changed.  The
      driver now works again but is slow.  The proper fix is to reintroduce
      hardware acceleration.
      Signed-off-by: NRobert Reif <reif@earthlink.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      738eca74
  7. 07 6月, 2008 3 次提交
  8. 25 5月, 2008 5 次提交
  9. 23 5月, 2008 1 次提交
  10. 22 5月, 2008 1 次提交
  11. 21 5月, 2008 1 次提交
    • G
      fbdev: fix race in device_create · 8b485877
      Greg Kroah-Hartman 提交于
      There is a race from when a device is created with device_create() and
      then the drvdata is set with a call to dev_set_drvdata() in which a
      sysfs file could be open, yet the drvdata will be NULL, causing all
      sorts of bad things to happen.
      
      This patch fixes the problem by using the new function,
      device_create_drvdata().
      
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: James Simmons <jsimmons@infradead.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8b485877
  12. 19 5月, 2008 4 次提交
  13. 18 5月, 2008 1 次提交
  14. 15 5月, 2008 2 次提交
  15. 13 5月, 2008 7 次提交
  16. 09 5月, 2008 1 次提交
  17. 08 5月, 2008 1 次提交
  18. 04 5月, 2008 2 次提交
  19. 30 4月, 2008 2 次提交