You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FTDI_kernel_space_gpio_driver/usb_gpio.h

23 lines
428 B

#ifndef _USB_GPIO_H
#define _USB_GPIO_H
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h> /* kmalloc() */
#include <linux/gpio.h>
#include <linux/kmod.h>
#include <linux/msg.h>
#include "usb_gpio_util.h"
#include "common.h"
#define NUM_OF_GPIO 8
#ifndef CONFIG_GENERIC_GPIO
#error This module needs generic gpio support (CONFIG_GENERIC_GPIO)
#endif
#endif //_USB_GPIO_H