Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
sys_soc.h File Reference
#include <linux/device.h>

Go to the source code of this file.

Data Structures

struct  soc_device_attribute
 

Functions

struct soc_devicesoc_device_register (struct soc_device_attribute *soc_plat_dev_attr)
 
void soc_device_unregister (struct soc_device *soc_dev)
 
struct devicesoc_device_to_device (struct soc_device *soc)
 

Function Documentation

struct soc_device* soc_device_register ( struct soc_device_attribute soc_plat_dev_attr)
read

soc_device_register - register SoC as a device : Attributes passed from platform to be attributed to a SoC

Definition at line 113 of file soc.c.

struct device* soc_device_to_device ( struct soc_device soc)
read

soc_device_to_device - helper function to fetch struct device : Previously registered SoC device container

Definition at line 40 of file soc.c.

void soc_device_unregister ( struct soc_device soc_dev)

soc_device_unregister - unregister SoC device : SoC device to be unregistered

Definition at line 162 of file soc.c.