drm/msm/mdp5: don't use void * for opaque types
authorRob Clark <robdclark@gmail.com>
Tue, 18 Nov 2014 19:28:43 +0000 (14:28 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 21 Nov 2014 13:57:20 +0000 (08:57 -0500)
commit42238da8b10320420be19f056cc8e0d95cc606a3
tree5d3a32a11f00d59b01d33d50f1b1dbcedaddca35
parent0deed25b65aaf495e36818481cfc9f58dfa5cd3f
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>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.h