Created
December 6, 2010 01:01
-
-
Save scottellis/729676 to your computer and use it in GitHub Desktop.
struct spike_dev
This file contains 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
struct spike_dev { | |
spinlock_t spi_lock; | |
struct semaphore fop_sem; | |
dev_t devt; | |
struct cdev cdev; | |
struct class *class; | |
struct spi_device *spi_device; | |
struct hrtimer timer; | |
u32 timer_period_sec; | |
u32 timer_period_ns; | |
u32 running; | |
char *user_buff; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment