Merge "drm/msm: Fix the SNAPSHOT_HEADER macro"

This commit is contained in:
Linux Build Service Account 2017-05-04 08:45:23 -07:00 committed by Gerrit - the friendly Code Review server
commit a18fb0347b

View file

@ -71,8 +71,8 @@ static inline bool _snapshot_header(struct msm_snapshot *snapshot,
*/ */
#define SNAPSHOT_HEADER(_snapshot, _header, _id, _dwords) \ #define SNAPSHOT_HEADER(_snapshot, _header, _id, _dwords) \
_snapshot_header((_snapshot), \ _snapshot_header((_snapshot), \
(struct msm_snapshot_section_header *) &(header), \ (struct msm_snapshot_section_header *) &(_header), \
sizeof(header), (_dwords) << 2, (_id)) sizeof(_header), (_dwords) << 2, (_id))
struct msm_gpu; struct msm_gpu;