swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 18e352e4a73465349711a9324767e1b2453383e2 authored by Linus Torvalds on 28 January 2009, 18:49:30 UTC
Linux 2.6.29-rc3
Tip revision: 18e352e
of_spi.h
/*
 * OpenFirmware SPI support routines
 * Copyright (C) 2008 Secret Lab Technologies Ltd.
 *
 * Support routines for deriving SPI device attachments from the device
 * tree.
 */

#ifndef __LINUX_OF_SPI_H
#define __LINUX_OF_SPI_H

#include <linux/of.h>
#include <linux/spi/spi.h>

extern void of_register_spi_devices(struct spi_master *master,
				    struct device_node *np);

#endif /* __LINUX_OF_SPI */
back to top