Commit 1590f72d authored by Alex Deucher's avatar Alex Deucher

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=67961Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ea31bf69
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#ifndef _PPTABLE_H #ifndef _PPTABLE_H
#define _PPTABLE_H #define _PPTABLE_H
#pragma pack(push, 1) #pragma pack(1)
typedef struct _ATOM_PPLIB_THERMALCONTROLLER typedef struct _ATOM_PPLIB_THERMALCONTROLLER
...@@ -677,6 +677,6 @@ typedef struct _ATOM_PPLIB_PPM_Table ...@@ -677,6 +677,6 @@ typedef struct _ATOM_PPLIB_PPM_Table
ULONG ulTjmax; ULONG ulTjmax;
} ATOM_PPLIB_PPM_Table; } ATOM_PPLIB_PPM_Table;
#pragma pack(pop) #pragma pack()
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment