OSDN Git Service

cw1200: add const to hwbus_ops structures
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 23 Jun 2017 11:43:19 +0000 (17:13 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Jun 2017 18:17:46 +0000 (21:17 +0300)
commit3ac27dd37b40ae9a1a2690c91f27ab339b275142
tree3f45234e7aa7ea5e1b8274bb459e3b1ebfd5364f
parent58828680af495bc4863af3a006f2018c71714665
cw1200: add const to hwbus_ops structures

Declare hwbus_ops structures as const as they are only passed as an
argument to the function cw1200_core_probe. This argument is of type
const. So, make these structures const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/st/cw1200/cw1200_sdio.c
drivers/net/wireless/st/cw1200/cw1200_spi.c