#include <linux/of.h>
#include <linux/slab.h>
#include "of_private.h"
static int of_node_is_initialized(const struct device_node *node)
{ … }
int of_node_is_attached(const struct device_node *node)
{ … }
#ifndef CONFIG_OF_DYNAMIC
static void of_node_release(struct kobject *kobj)
{
}
#endif
const struct kobj_type of_node_ktype = …;
static ssize_t of_node_property_read(struct file *filp, struct kobject *kobj,
struct bin_attribute *bin_attr, char *buf,
loff_t offset, size_t count)
{ … }
static const char *safe_name(struct kobject *kobj, const char *orig_name)
{ … }
int __of_add_property_sysfs(struct device_node *np, struct property *pp)
{ … }
void __of_sysfs_remove_bin_file(struct device_node *np, struct property *prop)
{ … }
void __of_remove_property_sysfs(struct device_node *np, struct property *prop)
{ … }
void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
struct property *oldprop)
{ … }
int __of_attach_node_sysfs(struct device_node *np)
{ … }
void __of_detach_node_sysfs(struct device_node *np)
{ … }