mirror of
https://github.com/adulau/aha.git
synced 2025-01-05 15:43:22 +00:00
[PATCH] qla: remove anonymous union
Older gcc's dont support anonymous unions, so this driver gets hundreds of error. Fortunately the fix is easy... Cc: James Bottomley <James.Bottomley@steeleye.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
89373de7dd
commit
9a168bddc2
1 changed files with 1 additions and 3 deletions
|
@ -451,11 +451,9 @@ struct device_reg_2xxx {
|
|||
} u_end;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
typedef union {
|
||||
struct device_reg_2xxx isp;
|
||||
struct device_reg_24xx isp24;
|
||||
};
|
||||
} device_reg_t;
|
||||
|
||||
#define ISP_REQ_Q_IN(ha, reg) \
|
||||
|
|
Loading…
Reference in a new issue