From: Vladimir 'phcoder' Serbinenko Date: Sat, 22 May 2010 22:17:51 +0000 (+0200) Subject: Add missing volatile attribute X-Git-Tag: 1.99~780^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e51a665432fafb4016613be732f45f24ffa4eb23;p=thirdparty%2Fgrub.git Add missing volatile attribute --- diff --git a/bus/usb/ohci.c b/bus/usb/ohci.c index b86e78ef2..9515423fa 100644 --- a/bus/usb/ohci.c +++ b/bus/usb/ohci.c @@ -64,8 +64,8 @@ struct grub_ohci_td grub_uint32_t buffer_end; } __attribute__((packed)); -typedef struct grub_ohci_td *grub_ohci_td_t; -typedef struct grub_ohci_ed *grub_ohci_ed_t; +typedef volatile struct grub_ohci_td *grub_ohci_td_t; +typedef volatile struct grub_ohci_ed *grub_ohci_ed_t; struct grub_ohci {