mfd: sm501: dbg_regs attribute must be read-only
authorGuenter Roeck <linux@roeck-us.net>
Sun, 8 Sep 2013 07:25:36 +0000 (00:25 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:20:34 +0000 (16:20 +0100)
commit8a8320c2e78d1b619a8fa8eb5ae946b8691de604
treeb9e56c4163265bea565702255a96fdc14b002d58
parent43e30f23b589642a7eaff005bc30444a5247976c
mfd: sm501: dbg_regs attribute must be read-only

Fix:

sm501 sm501: SM501 At b3e00000: Version 050100a0, 8 Mb, IRQ 100
Attribute dbg_regs: write permission without 'store'
------------[ cut here ]------------
WARNING: at drivers/base/core.c:620

dbg_regs does not have a write function and must therefore be marked
as read-only.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sm501.c