Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
platform.c File Reference
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/amba/bus.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/of_address.h>
#include <linux/of_device.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>

Go to the source code of this file.

Functions

struct platform_deviceof_find_device_by_node (struct device_node *np)
 
 EXPORT_SYMBOL (of_find_device_by_node)
 

Variables

struct of_device_id of_default_bus_match_table []
 

Function Documentation

EXPORT_SYMBOL ( of_find_device_by_node  )
struct platform_device* of_find_device_by_node ( struct device_node np)
read

of_find_device_by_node - Find the platform_device associated with a node : Pointer to device tree node

Returns platform_device pointer, or NULL if not found

Definition at line 45 of file platform.c.

Variable Documentation

struct of_device_id of_default_bus_match_table[]
Initial value:
= {
{ .compatible = "simple-bus", },
{}
}

Definition at line 26 of file platform.c.