diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-14 16:12:31 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-16 08:40:37 +0200 |
commit | b986f4f1ee4881c4c1d81738cf9f0366381f7066 (patch) | |
tree | ec9333b46094e958ec5bc1bfbfd43c19e59de959 /include/usb/dfu.h | |
parent | 8326bff00fd2a3aaa5f45a0c3de35a76ab767c83 (diff) | |
download | barebox-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.h | 2 |
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; |