summaryrefslogtreecommitdiffstats
path: root/include/usb/usbserial.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/usbserial.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/usbserial.h')
-rw-r--r--include/usb/usbserial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/usbserial.h b/include/usb/usbserial.h
index 43c839c4d6..7c416aa158 100644
--- a/include/usb/usbserial.h
+++ b/include/usb/usbserial.h
@@ -3,7 +3,7 @@
struct usb_serial_pdata {
char *manufacturer;
- char *productname;
+ const char *productname;
u16 idVendor;
u16 idProduct;
int mode;