1
0
Fork 0

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>
hifive-unleashed-5.1
Alex Deucher 2014-01-02 17:55:35 -05:00
parent ea31bf697d
commit 1590f72d8c
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
#ifndef _PPTABLE_H
#define _PPTABLE_H
#pragma pack(push, 1)
#pragma pack(1)
typedef struct _ATOM_PPLIB_THERMALCONTROLLER
@ -677,6 +677,6 @@ typedef struct _ATOM_PPLIB_PPM_Table
ULONG ulTjmax;
} ATOM_PPLIB_PPM_Table;
#pragma pack(pop)
#pragma pack()
#endif