Revision 935bba7ccf0246fae8247aa8dab7aa85c43de2d8 authored by Arvind Yadav on 22 June 2017, 10:35:30 UTC, committed by Marc Zyngier on 23 June 2017, 08:14:58 UTC
of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by <linux/of.h> work with const
of_device_ids. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent e0de91a
Raw File
locking-selftest-wsem.h
#undef LOCK
#define LOCK		WSL

#undef UNLOCK
#define UNLOCK		WSU

#undef RLOCK
#define RLOCK		RSL

#undef WLOCK
#define WLOCK		WSL

#undef INIT
#define INIT		RWSI
back to top