net:hns: annotate IO address space properly
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Dec 2015 15:23:09 +0000 (17:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Dec 2015 04:36:55 +0000 (23:36 -0500)
commit946973a348a16f724374e0f818b31c095686471f
treee8d2e725520a4620b2ece123e04fccfaebfba8b9
parent6d13cab4abec85d766a505f56f4465086f26ea10
net:hns: annotate IO address space properly

Mark address pointer with __iomem in the IO accessors.

Otherwise we will get a sparse complain like following

.../hns/hns_dsaf_reg.h:991:36: warning: incorrect type in argument 1 (different address spaces)
.../hns/hns_dsaf_reg.h:991:36:    expected unsigned char [noderef] [usertype] <asn:2>*base
.../hns/hns_dsaf_reg.h:991:36:    got void *base

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h