#include <linux/init.h>
#include <linux/module.h>
#include <linux/ioctl.h>
#include <linux/fs.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/compat.h>
#include <linux/spi/spi.h>
#include <linux/spi/spidev.h>
#include <asm/uaccess.h>
Go to the source code of this file.
#define N_SPI_MINORS 32 /* ... up to 256 */ |
#define spidev_compat_ioctl NULL |
#define SPIDEV_MAJOR 153 /* assigned */ |
MODULE_ALIAS |
( |
"spi:spidev" |
| ) |
|
MODULE_AUTHOR |
( |
"Andrea |
Paterniani, |
|
|
< a.paterniani @swapp-eng.it >" |
|
|
) |
| |
module_exit |
( |
spidev_exit |
| ) |
|
module_init |
( |
spidev_init |
| ) |
|