diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2010-11-28 02:08:57 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2010-11-28 02:08:57 +0100 |
commit | 588e07e13bcc59058fc80c11df10a2b69bc5393c (patch) | |
tree | cd9378c462dd8297d6766b6db78396be2d768547 | |
parent | 6c453cf1d11967a46301c4a2b126f8a4d8ac8e3b (diff) | |
download | ldd3-588e07e13bcc59058fc80c11df10a2b69bc5393c.tar.gz |
scullc: main: Removes obsolete <linux/config.h> and use struct kmem_cache instead of kmem_cache_t
-rw-r--r-- | scullc/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scullc/main.c b/scullc/main.c index f7a1ca5..5bfbbac 100644 --- a/scullc/main.c +++ b/scullc/main.c @@ -15,7 +15,6 @@ * $Id: _main.c.in,v 1.21 2004/10/14 20:11:39 corbet Exp $ */ -#include <linux/config.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> @@ -49,7 +48,7 @@ int scullc_trim(struct scullc_dev *dev); void scullc_cleanup(void); /* declare one cache pointer: use it for all devices */ -kmem_cache_t *scullc_cache; +struct kmem_cache *scullc_cache; |