aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/pptable.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-01-02 17:55:35 -0500
committerAlex Deucher <alexander.deucher@amd.com>2014-01-03 11:34:21 -0500
commit1590f72d8c13dc3f64ad2cdb7d0e6b7035407335 (patch)
tree2857a45e2e3e233e371108bf7a54ee887686b287 /drivers/gpu/drm/radeon/pptable.h
parentea31bf697d27270188a93cd78cf9de4bc968aca3 (diff)
drm/radeon: fix pptable.h portability
The following isn't compatible with gcc 2.x: pragma pack(push, 1) ... pragma pack(pop) replace with: pragma pack(1) ... pragma pack() bug: https://bugzilla.kernel.org/show_bug.cgi?id=67961 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/pptable.h')
-rw-r--r--drivers/gpu/drm/radeon/pptable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/pptable.h b/drivers/gpu/drm/radeon/pptable.h
index da43ab328833..2d532996c697 100644
--- a/drivers/gpu/drm/radeon/pptable.h
+++ b/drivers/gpu/drm/radeon/pptable.h
@@ -23,7 +23,7 @@
23#ifndef _PPTABLE_H 23#ifndef _PPTABLE_H
24#define _PPTABLE_H 24#define _PPTABLE_H
25 25
26#pragma pack(push, 1) 26#pragma pack(1)
27 27
28typedef struct _ATOM_PPLIB_THERMALCONTROLLER 28typedef struct _ATOM_PPLIB_THERMALCONTROLLER
29 29
@@ -677,6 +677,6 @@ typedef struct _ATOM_PPLIB_PPM_Table
677 ULONG ulTjmax; 677 ULONG ulTjmax;
678} ATOM_PPLIB_PPM_Table; 678} ATOM_PPLIB_PPM_Table;
679 679
680#pragma pack(pop) 680#pragma pack()
681 681
682#endif 682#endif