Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b8dc2f34 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

epm-adc: Fix lockdep warnings with key's not in .data



Devices attributes have lockdep keys and so they should exist in
the data section. Failure to do this results in lockdep turning
itself off and warnings such as:

	BUG: key eeb0883c not in .data!

Fix this problem by statically allocating the devices attributes
and hardcoding the names instead of generating them dynamically.

Change-Id: I8db28768b3bdffab21db8c2ea2cfb21f0e4010c1
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 1837e47e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment