aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2017-05-23 20:41:39 +0200
committerKrzysztof Kozlowski <[email protected]>2017-06-07 20:40:47 +0200
commit71b96c3a8a2d35f74ca7559f9d1b123d97da6f4f (patch)
tree5ca7dfe34de283ae44669713c8054cee44efe56e /net/switchdev/switchdev.c
parentcfa76ddf5b3aad642cc904daa3d3784cbb5f2d57 (diff)
pinctrl: samsung: Constify wakeup driver specific data
Static exynos_irq_chip structures, containing driver specific data, are referenced only through opaque data pointer in const of_device_id table. The contents of pointed memory (exynos_irq_chip structure itself) is then copied with kmemdup() during wakeup initialization so exynos_irq_chip can be made const for code safenes. Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions