armadeus ARMadeus Systems SARL
artesyn Artesyn Embedded Technologies Inc.
asahi-kasei Asahi Kasei Corp.
+atlas Atlas Scientific LLC
atmel Atmel Corporation
auo AU Optronics Corporation
avago Avago Technologies
ea Embedded Artists AB
ebv EBV Elektronik
edt Emerging Display Technologies
+ eeti eGalax_eMPIA Technology Inc
elan Elan Microelectronic Corp.
emmicro EM Microelectronic
energymicro Silicon Laboratories (formerly Energy Micro AS)
i2se I2SE GmbH
ibm International Business Machines (IBM)
idt Integrated Device Technologies, Inc.
+ifi Ingenieurburo Fur Ic-Technologie (I/F/I)
iom Iomega Corporation
img Imagination Technologies Ltd.
ingenic Ingenic Semiconductor
invensense InvenSense Inc.
isee ISEE 2007 S.L.
isil Intersil
+issi Integrated Silicon Solutions Inc.
jedec JEDEC Solid State Technology Association
karo Ka-Ro electronics GmbH
keymile Keymile GmbH
option Option NV
ortustech Ortus Technology Co., Ltd.
ovti OmniVision Technologies
+ORCL Oracle Corporation
panasonic Panasonic Corporation
parade Parade Technologies Inc.
pericom Pericom Technology Inc.
semtech Semtech Corporation
sgx SGX Sensortech
sharp Sharp Corporation
+si-en Si-En Technology Ltd.
sigma Sigma Designs, Inc.
sil Silicon Image
silabs Silicon Laboratories
startek Startek
ste ST-Ericsson
stericsson ST-Ericsson
+syna Synaptics Inc.
synology Synology, Inc.
+SUNW Sun Microsystems, Inc
tbs TBS Technologies
tcl Toby Churchill Ltd.
technologic Technologic Systems
tronfy Tronfy
truly Truly Semiconductors Limited
upisemi uPI Semiconductor Corp.
+ urt United Radiant Technology Corporation
usi Universal Scientific Industrial Co., Ltd.
v3 V3 Semiconductor
variscite Variscite Ltd.
u64 *out_values,
size_t sz);
- extern int of_property_read_string(struct device_node *np,
+ extern int of_property_read_string(const struct device_node *np,
const char *propname,
const char **out_string);
- extern int of_property_match_string(struct device_node *np,
+ extern int of_property_match_string(const struct device_node *np,
const char *propname,
const char *string);
- extern int of_property_read_string_helper(struct device_node *np,
+ extern int of_property_read_string_helper(const struct device_node *np,
const char *propname,
const char **out_strs, size_t sz, int index);
extern int of_device_is_compatible(const struct device_node *device,
return -ENOSYS;
}
- static inline int of_property_read_string(struct device_node *np,
+ static inline int of_property_read_string(const struct device_node *np,
const char *propname,
const char **out_string)
{
return -ENOSYS;
}
- static inline int of_property_read_string_helper(struct device_node *np,
+ static inline int of_property_read_string_helper(const struct device_node *np,
const char *propname,
const char **out_strs, size_t sz, int index)
{
return -ENOSYS;
}
- static inline int of_property_match_string(struct device_node *np,
+ static inline int of_property_match_string(const struct device_node *np,
const char *propname,
const char *string)
{
*
* If @out_strs is NULL, the number of strings in the property is returned.
*/
- static inline int of_property_read_string_array(struct device_node *np,
+ static inline int of_property_read_string_array(const struct device_node *np,
const char *propname, const char **out_strs,
size_t sz)
{
* does not have a value, and -EILSEQ if the string is not null-terminated
* within the length of the property data.
*/
- static inline int of_property_count_strings(struct device_node *np,
+ static inline int of_property_count_strings(const struct device_node *np,
const char *propname)
{
return of_property_read_string_helper(np, propname, NULL, 0, 0);
*
* The out_string pointer is modified only if a valid string can be decoded.
*/
- static inline int of_property_read_string_index(struct device_node *np,
+ static inline int of_property_read_string_index(const struct device_node *np,
const char *propname,
int index, const char **output)
{
return num;
}
-#ifdef CONFIG_OF
+#if defined(CONFIG_OF) && !defined(MODULE)
#define _OF_DECLARE(table, name, compat, fn, fn_type) \
static const struct of_device_id __of_table_##name \
__used __section(__##table##_of_table) \