net: Fix Hisilicon Network Subsystem Support Compilation
authorhuangdaode <huangdaode@hisilicon.com>
Sun, 27 Sep 2015 07:22:44 +0000 (15:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:34:23 +0000 (22:34 -0700)
commite4600d69ffc7c0ce9759532e2c10056bf1c0a1a7
treefa5c6ad725c290a315ad27f132fe3851041f5f4d
parent1273bc573ab13b9c76053fe0403dca7d8acffa78
net: Fix Hisilicon Network Subsystem Support Compilation

This patch fixes the compilation error with arm allmodconfig, this error
generated due to unavailability of readq() on 32-bit platform which was
found during net-next daily compilation. In the same time, fix all the
hns drivers compilation warnings.

Signed-off-by: huangdaode <huangdaode@hisilicon.com>
Signed-off-by: zhaungyuzeng <Yisen.zhuang@huawei.com>
Signed-off-by: kenneth Lee <liguozhu@hisilicon.com>
Signed-off-by: yankejian <yankejian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h
drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c
drivers/net/ethernet/hisilicon/hns/hns_enet.c