@@ -171,7 +171,6 @@ struct usb_ftdi {
struct delayed_work command_work;
struct delayed_work respond_work;
struct u132_platform_data platform_data;
- struct resource resources[0];
struct platform_device platform_dev;
unsigned char *bulk_in_buffer;
size_t bulk_in_size;
@@ -185,6 +184,7 @@ struct usb_ftdi {
int expected;
int received;
int ed_found;
+ struct resource resources[];
};
#define kref_to_usb_ftdi(d) container_of(d, struct usb_ftdi, kref)
#define platform_device_to_usb_ftdi(d) container_of(d, struct usb_ftdi, \