This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/module.h> /* Needed by all modules */ | |
#include <linux/kernel.h> /* Needed for KERN_INFO */ | |
#include <linux/init.h> /* Needed for the macros */ | |
#include <plat/gpio.h> | |
#include <plat/am33xx.h> | |
#include <asm/io.h> | |
#define DEVICE_NAME "led_drv" | |
static __iomem unsigned char *gpio1_start; |