mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
powerpc/5200: Add mpc5200-spi (non-PSC) device driver
Adds support for the dedicated SPI device on the Freescale MPC5200(b) SoC. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
ad6577629a
commit
42bbb70980
4 changed files with 539 additions and 0 deletions
10
include/linux/spi/mpc52xx_spi.h
Normal file
10
include/linux/spi/mpc52xx_spi.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
#ifndef INCLUDE_MPC5200_SPI_H
|
||||
#define INCLUDE_MPC5200_SPI_H
|
||||
|
||||
extern void mpc52xx_spi_set_premessage_hook(struct spi_master *master,
|
||||
void (*hook)(struct spi_message *m,
|
||||
void *context),
|
||||
void *hook_context);
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue