Skip to content
Commit 42238da8 authored by Rob Clark's avatar Rob Clark
Browse files

drm/msm/mdp5: don't use void * for opaque types



For example, use 'struct mdp5_smp *' everywhere instead of 'void *', but
only declare it as 'struct mdp5_smp;' in common headers, so the struct
body is still private.  The accomplishes the desired modularity while
still letting the compiler provide some type checking for us.

Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 0deed25b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment