diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-08 16:21:41 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-08 16:21:41 +0100 |
commit | 49600087b975f5f2df77c3b5c0505d5a7aedcb0a (patch) | |
tree | 0b8733865bf0a7d7bbc5d96bd89b5fa76d987371 /usb/device/dfu/dfu.h | |
parent | f912bc40dc2c720d98bc69eff6eac2000ab39197 (diff) |
rename 'struct dfu' to 'struct dfudata' and 'dfu' symbol to 'g_dfu'
This avoids clashes with the -Ddfu caused by board MEMORIES
Diffstat (limited to 'usb/device/dfu/dfu.h')
-rw-r--r-- | usb/device/dfu/dfu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usb/device/dfu/dfu.h b/usb/device/dfu/dfu.h index 3cbcac5..ad64c99 100644 --- a/usb/device/dfu/dfu.h +++ b/usb/device/dfu/dfu.h @@ -112,14 +112,14 @@ const USBDDriverDescriptors dfu_descriptors; /* The API between the core DFU handler and the board/soc specific code */ -struct dfu { +struct dfudata { uint8_t status; uint32_t state; int past_manifest; unsigned int total_bytes; }; -extern struct dfu dfu; +extern struct dfudata g_dfu; void set_usb_serial_str(const uint8_t *serial_usbstr); /* call-backs by the board/SOC */ |