summaryrefslogtreecommitdiffstats
path: root/include/usb/dfu.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-08-14 16:12:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-16 08:40:37 +0200
commitb986f4f1ee4881c4c1d81738cf9f0366381f7066 (patch)
treeec9333b46094e958ec5bc1bfbfd43c19e59de959 /include/usb/dfu.h
parent8326bff00fd2a3aaa5f45a0c3de35a76ab767c83 (diff)
downloadbarebox-b986f4f1ee4881c4c1d81738cf9f0366381f7066.tar.gz
barebox-b986f4f1ee4881c4c1d81738cf9f0366381f7066.tar.xz
remove remaining references of CONFIG_BOARDINFO
With this all code uses barebox_get_model() and no longer a compile time generated string. Also this renames barebox_boardinfo() to barebox_get_model() since we are going to add the corresponding _set_ function and 'model' corresponds to the devicetree notion. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/dfu.h')
-rw-r--r--include/usb/dfu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/dfu.h b/include/usb/dfu.h
index d522e1f21d..698ba9d5a1 100644
--- a/include/usb/dfu.h
+++ b/include/usb/dfu.h
@@ -33,7 +33,7 @@ struct usb_dfu_dev {
struct usb_dfu_pdata {
char *manufacturer;
- char *productname;
+ const char *productname;
u16 idVendor;
u16 idProduct;