[PATCH] drm/tilcdc: add missing header dependencies

2016-09-20 Thread Baoyou Xie
In fact, these functions are declared in drivers/gpu/drm/tilcdc/tilcdc_tfp410.h, drivers/gpu/drm/tilcdc/tilcdc_panel.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 + 2 file

[PATCH] drm/tilcdc: mark tilcdc_atomic_check() static

2016-09-20 Thread Baoyou Xie
be made static. So this patch marks it 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 4405e4b..1d26bc9 100

[PATCH 1/2] regulator: dbx500: remove unused functions in dbx500-prcmu.c

2016-09-23 Thread Baoyou Xie
bug' [-Wmissing-prototypes] In fact, these functions are unused in dbx500-prcmu.c, but should be removed. So this patch removes the unused functions. Signed-off-by: Baoyou Xie --- drivers/regulator/dbx500-prcmu.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/driv

[PATCH 2/2] regulator: dbx500: add missing header dependencies

2016-09-23 Thread Baoyou Xie
ognized in other file. So this patch adds the declaration into drivers/regulator/dbx500-prcmu.h. Signed-off-by: Baoyou Xie --- drivers/regulator/dbx500-prcmu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/dbx500-prcmu.h b/drivers/regulator/dbx500-prc

[PATCH] RAS, debugfs: add missing header dependencies

2016-09-23 Thread Baoyou Xie
ers/ras/debugfs.c:53:13: warning: no previous prototype for 'ras_debugfs_init' [-Wmissing-prototypes] In fact, these functions are declared in linux/ras.h, so this patch adds the missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/ras/debugfs.c | 1 + 1 file changed

[PATCH] staging: android: ion: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
; [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/staging/android/ion/ion_carveout_heap.

[PATCH 2/2] Staging: ks7010: remove unused function in ks_wlan_net.c

2016-09-23 Thread Baoyou Xie
n. Signed-off-by: Baoyou Xie --- drivers/staging/ks7010/ks_wlan_net.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index ee9c8f3..f1cd90e 100644 --- a/drivers/staging/ks7010/ks_wlan_net.c +++ b/drivers/stag

[PATCH 1/2] Staging: ks7010: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
t can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie --- drivers/staging/ks7010/ks7010_sdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.

[PATCH] staging: rtl8192u: ieee80211: ieee80211_softmac: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
ly 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: Baoyou Xie --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 16 ++-- 1 file changed, 10 ins

[PATCH] staging: rtl8192u: remove unused functions in r8192U_core.c

2016-09-23 Thread Baoyou Xie
ate' [-Wmissing-declarations] drivers/staging/rtl8192u/r8192U_core.c:1322:11: warning: no previous declaration for 'rtl8192_IsWirelessBMode' [-Wmissing-declarations] In fact, these functions are unused in r8192U_core.c, but should be removed. So this patch removes the unused functio

[PATCH] vme: fake: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
ile 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: Baoyou Xie --- drivers/vme/bridges/vme_fake.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH] usb: core: hcd: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/usb/core/hcd.c:2390:5: warning: no previous prototype for 'usb_bus_start_enum' [-Wmissing-prototypes] In fact, these functions are declared in linux/usb/otg.h, so this patch adds the missing header dependencies. Signed-off-by:

[PATCH] usb: xhci: mark xhci_unmap_td_bounce_buffer() static

2016-09-23 Thread Baoyou Xie
be made static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- drivers/usb/host/xhci-ring.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 797137e..9cf70c9 1006

[PATCH] pm8001: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
sing-prototypes] In fact, these 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: Baoyou Xie --- drivers/scsi/pm8001/pm8001_hwi.c | 4 ++-- drivers

[PATCH] [SCSI] bfa: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
; [-Wmissing-prototypes] drivers/scsi/bfa/bfad_bsg.c:220:1: warning: no previous prototype for 'bfad_iocmd_iocfc_get_attr' [-Wmissing-prototypes] In fact, these functions are only used in the file in which they are declared and don't need a declaration, but can be made sta

[PATCH] pm80xx: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
sing-prototypes] In fact, these 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: Baoyou Xie --- drivers/scsi/pm8001/pm80xx_hwi.c | 7 ---

[PATCH] drbd: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
rototypes] In fact, these 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: Baoyou Xie --- drivers/block/drbd/drbd_main.c | 3 ++- driver

[PATCH] random: add missing header dependencies

2016-09-23 Thread Baoyou Xie
ned-off-by: Baoyou Xie --- drivers/char/random.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/random.c b/drivers/char/random.c index d6876d5..aa0950a 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -262,6 +262,7 @@ #include #include #include +#include

[PATCH] crypto: sunxi-ss: mark sun4i_hash() static

2016-09-23 Thread Baoyou Xie
made static. So this patch marks it 'static'. Signed-off-by: Baoyou Xie --- drivers/crypto/sunxi-ss/sun4i-ss-hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/sunxi-ss/sun4i-ss-hash.c b/drivers/crypto/sunxi-ss/sun4i-ss-hash.c index 1afeb8e..0de

[PATCH] clk: versatile: add missing header dependencies

2016-09-23 Thread Baoyou Xie
ing header dependencies. Signed-off-by: Baoyou Xie --- drivers/clk/versatile/clk-realview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/versatile/clk-realview.c b/drivers/clk/versatile/clk-realview.c index c56efc7..f662fd1 100644 --- a/drivers/clk/versatile/clk-realview.c +++ b/d

[PATCH] dma-buf/sw_sync: mark sync_timeline_create() static

2016-09-23 Thread Baoyou Xie
static. So this patch marks it 'static'. Signed-off-by: Baoyou Xie --- drivers/dma-buf/sw_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/sw_sync.c index 62e8e6d..6f16c85 100644 --- a/drivers/dma-buf/sw_sync.c +++ b/

[PATCH 1/3] dmaengine: virt-dma: move function declarations

2016-09-23 Thread Baoyou Xie
se two functions are incorrectly declared in a function. So this patch moves function declarations out of this function. Signed-off-by: Baoyou Xie --- drivers/dma/virt-dma.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h in

[PATCH 2/3] dmaengine: pxa_dma: add function declaration

2016-09-23 Thread Baoyou Xie
/pxa-dma.h. Signed-off-by: Baoyou Xie --- include/linux/dma/pxa-dma.h | 1 ++ 1 file changed, 1 insertions(+) diff --git a/include/linux/dma/pxa-dma.h b/include/linux/dma/pxa-dma.h index 3edc992..1823257 100644 --- a/include/linux/dma/pxa-dma.h +++ b/include/linux/dma/pxa-dma.h @@ -

[PATCH 3/3] dmaengine: imx-sdma: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/dma/imx-sdma.c:673:13: warning: 'sdma_handle_channel_loop' defined but not used [-Wunused-function] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by: Baoyou Xie --- drive

[PATCH] firmware/broadcom: add missing header dependencies

2016-09-23 Thread Baoyou Xie
ing header dependencies. Signed-off-by: Baoyou Xie --- drivers/firmware/broadcom/bcm47xx_sprom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/broadcom/bcm47xx_sprom.c b/drivers/firmware/broadcom/bcm47xx_sprom.c index 62aa3cf..3471b86 100644 --- a/drivers/firmwar

[PATCH] HSI: omap_ssi_core: move function declaration to header file

2016-09-23 Thread Baoyou Xie
this patch moves the function declaration to include/linux/hsi/hsi.h. Signed-off-by: Baoyou Xie --- drivers/hsi/clients/ssi_protocol.c | 2 -- include/linux/hsi/hsi.h| 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/h

[PATCH 1/6] isdn/eicon: add function declarations

2016-09-23 Thread Baoyou Xie
fact, these functions need be declare in some header files. So this patch adds function declarations in drivers/isdn/hardware/eicon/di_defs.h, drivers/isdn/hardware/eicon/capifunc.h, drivers/isdn/hardware/eicon/xdi_adapter.h. Signed-off-by: Baoyou Xie --- drivers/isdn/hardware/eicon/capifunc.c

[PATCH 2/6] isdn/hardware/eicon: add missing header dependencies

2016-09-23 Thread Baoyou Xie
s. Signed-off-by: Baoyou Xie --- drivers/isdn/hardware/eicon/diva.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/isdn/hardware/eicon/diva.c b/drivers/isdn/hardware/eicon/diva.c index 9693add..ad32552 100644 --- a/drivers/isdn/hardware/eicon/diva.c +++ b/drivers/isdn/hardware/ei

[PATCH 3/6] isdn/hisax: add function declarations

2016-09-23 Thread Baoyou Xie
So this patch adds function declarations in drivers/isdn/hisax/hisax.h. Signed-off-by: Baoyou Xie --- drivers/isdn/hisax/config.c | 60 - drivers/isdn/hisax/hisax.h | 60 + 2 files changed, 60 insertions(+

[PATCH 4/6] isdn/hisax: clean function declaration in hscx.c up

2016-09-23 Thread Baoyou Xie
d in other file. So this patch moves the declaration into drivers/isdn/hisax/hscx.h. Signed-off-by: Baoyou Xie --- drivers/isdn/hisax/elsa_ser.c | 2 +- drivers/isdn/hisax/hscx.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/elsa_ser.c b/drivers/

[PATCH 5/6] mISDN: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
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: Baoyou Xie --- drivers/isdn/mISDN/layer2.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions

[PATCH 6/6] mISDN: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/isdn/mISDN/layer2.c:463:1: warning: no previous declaration for 'IsRR' [-Wmissing-declarations] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by: Baoyou Xie --- drivers/

[PATCH] [media] coda: add missing header dependencies

2016-09-23 Thread Baoyou Xie
pendencies. Signed-off-by: Baoyou Xie --- drivers/media/platform/coda/coda-h264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h264.c index 456773a..6d6f555 100644 --- a/drivers/media/platform/coda/coda-h264.c +++

[PATCH] memstick: r592: add function declaration

2016-09-23 Thread Baoyou Xie
stick/host/r592.h. Signed-off-by: Baoyou Xie --- drivers/memstick/host/r592.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/memstick/host/r592.h b/drivers/memstick/host/r592.h index c5726c1..c5d91cd 100644 --- a/drivers/memstick/host/r592.h +++ b/drivers/memstick/host/r592.h

[PATCH 1/2] mfd: ab8500-debugfs: add function declaration

2016-09-23 Thread Baoyou Xie
aration in include/linux/mfd/abx500/ab8500.h. Signed-off-by: Baoyou Xie --- include/linux/mfd/abx500/ab8500.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h index 9475fee..a496120 100644 --- a/include/linux/mfd/abx500/ab85

[PATCH 2/2] mfd: ab8500-debugfs: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mfd/ab8500-debugfs.c:1395:6: warning: no previous prototype for 'ab8500_dump_all_banks_to_mem' [-Wmissing-prototypes] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by:

[PATCH] lpfc: mark symbols static where possible

2016-09-24 Thread Baoyou Xie
_oed_txbias_desc' [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_els.c:4838:1: warning: no previous prototype for 'lpfc_rdp_res_oed_txpower_desc' [-Wmissing-prototypes] In fact, these functions are only used in the file in which they are declared and don't need a declarati

[PATCH] [SCSI] mvsas: mark symbols static where possible

2016-09-24 Thread Baoyou Xie
/mvsas/mv_64xx.c:566:6: warning: no previous prototype for 'mvs_64xx_make_prd' [-Wmissing-prototypes] In fact, these 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 'stati

[PATCH 1/3] megaraid_sas: mark symbols static where possible

2016-09-24 Thread Baoyou Xie
ch 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: Baoyou Xie --- drivers/scsi/megaraid/megaraid_sas_base.c | 6 ++-- drivers/scsi/megaraid/megaraid_sas_fp.c | 30 ++--- dr

[PATCH 2/3] megaraid_sas: clean function declarations in megaraid_sas_fusion.c up

2016-09-24 Thread Baoyou Xie
In fact, these functions are declared in drivers/scsi/megaraid/megaraid_sas_fusion.c, but should be declared in a header file. thus can be recognized in other file. So this patch moves the declarations into drivers/scsi/megaraid/megaraid_sas.h. Signed-off-by: Baoyou Xie --- drivers/scsi/megar

[PATCH 3/3] megaraid_sas: clean function declarations in megaraid_sas_base.c up

2016-09-24 Thread Baoyou Xie
7; [-Wmissing-prototypes] In fact, these functions are declared in drivers/scsi/megaraid/megaraid_sas_base.c, but should be declared in a header file. thus can be recognized in other file. So this patch moves the declarations into drivers/scsi/megaraid/megaraid_sas.h. Signed-off-by: Baoyou Xie -

[PATCH] ixgbe: mark symbols static where possible

2016-09-24 Thread Baoyou Xie
totype for 'ixgbe_led_off_t_x550em' [-Wmissing-prototypes] In fact, these two 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: Baoyou Xie --- drivers/net/et

[PATCH] igb: mark igb_rxnfc_write_vlan_prio_filter() static

2016-09-24 Thread Baoyou Xie
d a declaration, but can be made static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- drivers/net/ethernet/intel/igb/igb_ethtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/d

[PATCH] cxgb4: mark symbols static where possible

2016-09-24 Thread Baoyou Xie
pes] In fact, these 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: Baoyou Xie --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +- drivers/ne

[PATCH] net: bcmgenet: remove unused function in bcmgenet.c

2016-09-24 Thread Baoyou Xie
lled by no one, thus can be removed. So this patch removes the unused functions. Signed-off-by: Baoyou Xie --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 122 - 1 file changed, 122 deletions(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/d

[PATCH 1/3] drm/nouveau: add missing header dependencies

2016-09-25 Thread Baoyou Xie
dev/volt/priv.h, drivers/gpu/drm/nouveau/nvkm/core/firmware.h, drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.h, drivers/gpu/drm/nouveau/dispnv04/disp.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/nouveau/dispnv04/overlay.c | 1 + drivers/gpu/drm/nouve

[PATCH 3/3] drm/nouveau: remove unused function

2016-09-25 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c:49:1: warning: no previous prototype for 'g94_sor_output_new' [-Wmissing-prototypes] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by:

[PATCH 2/3] drm/nouveau: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
27; [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/nouveau/nouv

[PATCH 1/2] drm/tilcdc: add missing header dependencies

2016-09-25 Thread Baoyou Xie
In fact, these functions are declared in drivers/gpu/drm/tilcdc/tilcdc_tfp410.h, drivers/gpu/drm/tilcdc/tilcdc_panel.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 + 2 file

[PATCH 2/2] drm/tilcdc: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
ck' [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/tilcdc/tilcdc_drv.c

[PATCH] drm: arm: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
roy_plane_state' [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/arm/malidp_pl

[PATCH] drm: armada: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
buf' [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/armada/armada

[PATCH] drm/bochs: mark bochs_connector_get_modes() static

2016-09-25 Thread Baoyou Xie
but can be made static. So this patch marks it 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c index 207a2cb..0b4e5d1 100

[PATCH] drm: bridge: analogix/dp: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
totype for 'analogix_dp_detect' [-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 both functions with 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm

[PATCH] drm/mediatek: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
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 both functions with 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 9 + 1 file

[PATCH 1/2] drm/rockchip: add missing header dependencies

2016-09-25 Thread Baoyou Xie
totype for 'rockchip_drm_fbdev_fini' [-Wmissing-prototypes] In fact, these functions are declared in drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 1 + 1 file changed, 1 insert

[PATCH] drm/mediatek: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
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 both functions with 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 9 + 1 file

[PATCH 2/2] drm/rockchip: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
p_drm_fb_resume' [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/rockchip/

[PATCH 2/2] drm/msm/adreno: move function declarations to header file

2016-09-25 Thread Baoyou Xie
sing-prototypes] In fact, both functions are declared in drivers/gpu/drm/msm/adreno/adreno_device.c, but should be declared in a header file. So this patch moves both function declarations to drivers/gpu/drm/msm/adreno/adreno_gpu.h. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/msm/adreno

[PATCH 1/2] drm/msm: add missing header dependencies

2016-09-25 Thread Baoyou Xie
prototypes] In fact, both functions are declared in drivers/gpu/drm/msm/msm_debugfs.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/msm/msm_debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/msm_debugfs.c b

[PATCH] drm/exynos: mark exynos_dp_crtc_clock_enable() static

2016-09-25 Thread Baoyou Xie
but can be made static. So this patch marks it 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/exynos/exynos_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_dp.c b/drivers/gpu/drm/exynos/exynos_dp.c index 4f08505..528229f 100

[PATCH] drm/sti: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
nd don't need a declaration, but can be made static. So this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/sti/sti_drv.c | 2 +- drivers/gpu/drm/sti/sti_dvo.c | 3 ++- drivers/gpu/drm/sti/sti_gdp.c | 2 +- drivers/gpu/drm/sti/sti_hq

[PATCH] drm/i2c: mark tda998x_audio_digital_mute() static

2016-09-25 Thread Baoyou Xie
but can be made static. So this patch marks it 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index 9798d40..8bf6611 100

[PATCH 3/4] drm/amd/powerplay: add function declarations

2016-09-25 Thread Baoyou Xie
ivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h, drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h, drivers/gpu/drm/amd/powerplay/eventmgr/eventtasks.h. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/amd/powerplay/eventmgr/eventtasks.h | 2 ++ drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h|

[PATCH 1/4] drm/amd/powerplay: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
fact, these 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: Baoyou Xie --- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 6 +- drivers/gpu

[PATCH 4/4] drm/amd/powerplay: remove unused functions

2016-09-25 Thread Baoyou Xie
/amd/amdgpu/../powerplay/hwmgr/iceland_hwmgr.c:1154:9: warning: no previous prototype for 'iceland_get_voltage_index' [-Wmissing-prototypes] In fact, these functions are called by no one and not exported, so this patch removes them. Signed-off-by: Baoyou Xie --- .../drm/amd/powe

[PATCH 2/4] drm/amd/powerplay: add missing header dependencies

2016-09-25 Thread Baoyou Xie
md/powerplay/inc/pp_acpi.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 1 + 1 files changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pp

[PATCH 2/4] drm/amdgpu: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
27; [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/amd/amdgpu/amd

[PATCH 1/4] drm/amdgpu: add missing header dependencies

2016-09-25 Thread Baoyou Xie
way, we amend the declaration of amdgpu_gfx_parse_disable_cu(). Signed-off-by: Baoyou Xie --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h| 3 ++- drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | 1 + drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 1 + d

[PATCH 4/4] drm/amdgpu: remove unused functions

2016-09-25 Thread Baoyou Xie
parameter_async' [-Wmissing-prototypes] In fact, both functions are called by no one and not exported, so this patch removes them. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 8 drivers/gpu/drm/amd/amdgpu/cz_smc.c| 7 --- 2 files changed, 1

[PATCH 3/4] drm/amdgpu: add amdgpu_pm_acpi_event_handler() declaration

2016-09-25 Thread Baoyou Xie
pu/drm/amd/amdgpu/amdgpu.h. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 6a75a4

[PATCH] rtc: rtc-jz4740: remove unused function in rtc-jz4740.c

2016-09-25 Thread Baoyou Xie
n. Signed-off-by: Baoyou Xie --- drivers/rtc/rtc-jz4740.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 5e14651..4788cc0 100644 --- a/drivers/rtc/rtc-jz4740.c +++ b/drivers/rtc/rtc-jz4740.c @@ -203,13 +203,6 @@ static i

[PATCH] net: hisilicon: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
emac_drv_resume' [-Wmissing-prototypes] In fact, these two 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: Baoyou Xie --- drivers/net/ethernet/h

[PATCH] net: hip04: mark tx_done() static

2016-09-25 Thread Baoyou Xie
made static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c b/drivers/net/ethernet/hisilicon/

[PATCH] net: mvneta: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
_link_ksettings' [-Wmissing-prototypes] In fact, these two 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: Baoyou Xie --- drivers/net/ethernet/marve

[PATCH] rtl8xxxu: mark rtl8192eu_power_off() static

2016-09-25 Thread Baoyou Xie
eclaration, but can be made static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xx

[PATCH] net: hns: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
gs' [-Wmissing-prototypes] drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:735:5: warning: no previous prototype for 'hns_ae_get_regs_len' [-Wmissing-prototypes] In fact, these functions are only used in the file in which they are declared and don't need a declaration,

[PATCH v2] net: hns: mark symbols static where possible

2016-09-26 Thread Baoyou Xie
gs' [-Wmissing-prototypes] drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:735:5: warning: no previous prototype for 'hns_ae_get_regs_len' [-Wmissing-prototypes] In fact, these functions are only used in the file in which they are declared and don't need a declaration,

[PATCH] vhost: mark symbols static in vhost.c

2016-09-26 Thread Baoyou Xie
these functions are defined in the macro 'INTERVAL_TREE_DEFINE' in include/linux/interval_tree_generic.h and don't need a declaration, but can be made static. so this patch marks these functions with 'static' by modifying the macro. Signed-off-by: Baoyou Xie --- drivers/vho

[PATCH] serial: stm32: mark symbols static where possible

2016-09-26 Thread Baoyou Xie
pes] In fact, these two 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: Baoyou Xie --- drivers/tty/serial/stm32-usart.c | 7 --- 1 file ch

[PATCH] scsi: be2iscsi: mark symbols static where possible

2016-09-26 Thread Baoyou Xie
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: Baoyou Xie --- drivers/scsi/be2iscsi/be_main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/driv

[PATCH] drm/rockchip: add missing header dependencies

2016-09-07 Thread Baoyou Xie
totype for 'rockchip_drm_fbdev_fini' [-Wmissing-prototypes] In fact, these functions are declared in drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 1 + 1 file changed, 1 insert

[PATCH] drm: msm: mdp4: mark symbols static where possible

2016-09-07 Thread Baoyou Xie
ne_set_property' [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/msm/mdp/mdp4/mdp4

[PATCH] drm/rockchip: mark symbols static where possible

2016-09-07 Thread Baoyou Xie
p_drm_fb_resume' [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/rockchip/

[PATCH] drm/sti: mark symbols static where possible

2016-09-07 Thread Baoyou Xie
prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/sti/sti_dvo.c | 3 ++- drivers/gpu/

[PATCH] qed: add missing header dependencies

2016-09-07 Thread Baoyou Xie
ck' [-Wmissing-prototypes] In fact, these functions are declared in qed_selftest.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/net/ethernet/qlogic/qed/qed_selftest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/qlogic/qe

[PATCH] qed: mark symbols static where possible

2016-09-07 Thread Baoyou Xie
otypes] drivers/net/ethernet/qlogic/qed/qed_sriov.c:2762:5: warning: no previous prototype for 'qed_iov_vf_flr_cleanup' [-Wmissing-prototypes] In fact, these functions are only used in the file in which they are declared and don't need a declaration, but can be made static.

[PATCH] irqchip/gic: mark gic_init_physaddr() static

2016-09-07 Thread Baoyou Xie
static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- drivers/irqchip/irq-gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index c2cab57..6f8d322 100644 --- a/drivers/irqchi

[PATCH v2] qed: mark symbols static where possible

2016-09-08 Thread Baoyou Xie
ng-prototypes] In fact, these 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: Baoyou Xie --- drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 9 +++

[PATCH] qede: mark qede_set_features() static

2016-09-08 Thread Baoyou Xie
but can be made static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- drivers/net/ethernet/qlogic/qede/qede_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b/drivers/net/etherne

[PATCH] staging/lustre/obdclass: add missing header dependencies

2016-09-08 Thread Baoyou Xie
ing header dependencies. Signed-off-by: Baoyou Xie --- drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c b/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c index 8f70dd

[PATCH] staging/lustre/lov: add missing header dependencies

2016-09-08 Thread Baoyou Xie
put' [-Wmissing-prototypes] drivers/staging/lustre/lustre/lov/lov_object.c:979:5: warning: no previous prototype for 'lov_read_and_clear_async_rc' [-Wmissing-prototypes] In fact, these functions are declared in ../llite/vvp_internal.h, so this patch add missing header dependenci

[PATCH] vhost: mark vhost_process_iotlb_msg() static

2016-09-08 Thread Baoyou Xie
static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- drivers/vhost/vhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index c6f2d89..bf045ac 100644 --- a/drivers/vhost/vhost.c ++

[PATCH] drm/radeon: mark symbols static where possible

2016-09-08 Thread Baoyou Xie
; [-Wmissing-prototypes] In fact, these 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: Baoyou Xie --- drivers/gpu/drm/radeon/radeon_dp_mst.c | 8 +++

[PATCH] drm/sun4i: add missing header dependencies

2016-09-08 Thread Baoyou Xie
atch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/sun4i/sun4i_dotclock.c| 1 + drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 1 + drivers/gpu/drm/sun4i/sun4i_rgb.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_do

[PATCH] drm/vc4: mark vc4_bo_cache_purge() static

2016-09-08 Thread Baoyou Xie
static. So this patch marks it 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/vc4/vc4_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_bo.c b/drivers/gpu/drm/vc4/vc4_bo.c index 59adcf8..3f6704c 100644 --- a/drivers/gpu/drm/vc4/v

[PATCH] drm/tilcdc: add missing header dependencies

2016-09-08 Thread Baoyou Xie
In fact, these functions are declared in drivers/gpu/drm/tilcdc/tilcdc_tfp410.h, drivers/gpu/drm/tilcdc/tilcdc_panel.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 + 2 file

[PATCH] drm/tilcdc: mark symbols static where possible

2016-09-08 Thread Baoyou Xie
aration, but can be made static. So this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c b/drive

[PATCH] drm/radeon: add missing header dependencies

2016-09-08 Thread Baoyou Xie
missing-prototypes] In fact, these functions are declared in drivers/gpu/drm/radeon/radeon_asic.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/radeon/atombios_encoders.c | 1 + drivers/gpu/drm/radeon/evergreen_cs.c

[PATCH] staging: ks7010: mark symbols static where possible

2016-09-08 Thread Baoyou Xie
t can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie --- drivers/staging/ks7010/ks7010_sdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.

  1   2   3   4   5   >