Searched refs:new_compat (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/arch/arm/mach-mvebu/ |
D | board-v7.c | 163 struct property *new_compat; in i2c_quirk() local 165 new_compat = kzalloc(sizeof(*new_compat), GFP_KERNEL); in i2c_quirk() 167 new_compat->name = kstrdup("compatible", GFP_KERNEL); in i2c_quirk() 168 new_compat->length = sizeof("marvell,mv78230-a0-i2c"); in i2c_quirk() 169 new_compat->value = kstrdup("marvell,mv78230-a0-i2c", in i2c_quirk() 172 of_update_property(np, new_compat); in i2c_quirk()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | omapdss-boot-init.c | 94 char *new_compat; in omapdss_omapify_node() local 113 new_compat = kmalloc(new_len, GFP_KERNEL); in omapdss_omapify_node() 115 omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); in omapdss_omapify_node() 117 omapdss_update_prop(node, new_compat, new_len); in omapdss_omapify_node()
|