/* For a node with a name like "gc@10", we make symlinks called "gc" and "@10" to it. Add a property to a node  */
static struct proc_dir_entry* __proc_device_tree_add_prop(struct proc_dir_entry *de, struct property *pp, const char *name)
/* For a node with a name like "gc@10", we make symlinks called "gc" and "@10" to it. Add a property to a node  */
static struct proc_dir_entry* __proc_device_tree_add_prop(struct proc_dir_entry *de, struct property *pp, const char *name)
{
	struct proc_dir_entry *ent;
	ent = proc_create_data(name,
			       strncmp(name, "security-", 9) ? S_IRUGO : S_IRUSR,
			       de, &property_proc_fops, pp);
	if (ent == NULL)
		return NULL;
	if (!strncmp(name, "security-", 9))
		ent->size = 0;
	else
		ent->size = pp->length;
	return ent;
}