Home
last modified time | relevance | path

Searched refs:new_compat (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm/mach-mvebu/
H A Dboard-v7.c128 struct property *new_compat; in i2c_quirk() local
130 new_compat = kzalloc(sizeof(*new_compat), GFP_KERNEL); in i2c_quirk()
132 new_compat->name = kstrdup("compatible", GFP_KERNEL); in i2c_quirk()
133 new_compat->length = sizeof("marvell,mv78230-a0-i2c"); in i2c_quirk()
134 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", in i2c_quirk()
137 of_update_property(np, new_compat); in i2c_quirk()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Domapdss-boot-init.c83 char *new_compat; in omapdss_omapify_node() local
102 new_compat = kmalloc(new_len, GFP_KERNEL); in omapdss_omapify_node()
103 if (!new_compat) in omapdss_omapify_node()
106 omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); in omapdss_omapify_node()
108 omapdss_update_prop(node, new_compat, new_len); in omapdss_omapify_node()