summaryrefslogtreecommitdiffstats
path: root/include/linux/of_spi.h
blob: 5f71ee8c0868d6d549ded2ca2ffbbfa837160584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * 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 */
OpenPOWER on IntegriCloud