1. 07 11月, 2016 1 次提交
    • B
      drm/nouveau: mark symbols static where possible · e08a1d97
      Baoyou Xie 提交于
      We get a few warnings when building kernel with W=1:
      drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c:29:1: warning: no previous prototype for 'nvbios_fan_table' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c:56:1: warning: no previous prototype for 'nvbios_fan_entry' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c:184:1: warning: no previous prototype for 'gt215_clk_info' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c:99:1: warning: no previous prototype for 'gt215_link_train_calc' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c:153:1: warning: no previous prototype for 'gt215_link_train' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c:271:1: warning: no previous prototype for 'gt215_link_train_init' [-Wmissing-prototypes]
      ....
      
      In fact, both functions are only used in the file in which they are
      declared and don't need a declaration, but can be made static.
      So this patch marks these functions with 'static'.
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      e08a1d97
  2. 14 7月, 2016 2 次提交
  3. 02 6月, 2016 1 次提交
  4. 20 5月, 2016 4 次提交
  5. 22 4月, 2016 1 次提交
  6. 14 3月, 2016 4 次提交
  7. 11 1月, 2016 4 次提交
  8. 25 11月, 2015 2 次提交
  9. 03 11月, 2015 1 次提交
  10. 28 8月, 2015 20 次提交