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

/linux-4.4.14/arch/arm/mach-mvebu/
H A Dboard-v7.c129 struct property *new_compat; i2c_quirk() local
131 new_compat = kzalloc(sizeof(*new_compat), GFP_KERNEL); i2c_quirk()
133 new_compat->name = kstrdup("compatible", GFP_KERNEL); i2c_quirk()
134 new_compat->length = sizeof("marvell,mv78230-a0-i2c"); i2c_quirk()
135 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", i2c_quirk()
138 of_update_property(np, new_compat); i2c_quirk()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A Domapdss-boot-init.c94 char *new_compat; omapdss_omapify_node() local
113 new_compat = kmalloc(new_len, GFP_KERNEL); omapdss_omapify_node()
115 omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); omapdss_omapify_node()
117 omapdss_update_prop(node, new_compat, new_len); omapdss_omapify_node()

Completed in 88 milliseconds