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.
23 lines
414 B
23 lines
414 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 "usb_gpio_util.h"
|
|
|
|
#define NUM_OF_GPIO 8
|
|
#define MOD_NAME "usb_gpio"
|
|
|
|
#ifndef CONFIG_GENERIC_GPIO
|
|
#error This module needs generic gpio support (CONFIG_GENERIC_GPIO)
|
|
#endif
|
|
|
|
#endif //_USB_GPIO_H
|
|
|