commit | 42238da8b10320420be19f056cc8e0d95cc606a3 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Tue Nov 18 14:28:43 2014 -0500 |
committer | Rob Clark <robdclark@gmail.com> | Fri Nov 21 08:57:20 2014 -0500 |
tree | 5d3a32a11f00d59b01d33d50f1b1dbcedaddca35 | |
parent | 0deed25b65aaf495e36818481cfc9f58dfa5cd3f [diff] |
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: Rob Clark <robdclark@gmail.com>