diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-22 18:15:21 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-07-22 18:15:21 +0200 |
commit | 3ce9641d4c21b4522e3e4ebd6fd91340984adee1 (patch) | |
tree | 96516b9ea139e140f43b817d550e9a81593ad802 /crypto | |
parent | 83ce766a0a88a76f22c17df3b711160287dda5b5 (diff) | |
download | kernel-crypto-3ce9641d4c21b4522e3e4ebd6fd91340984adee1.tar.gz kernel-crypto-3ce9641d4c21b4522e3e4ebd6fd91340984adee1.tar.xz kernel-crypto-3ce9641d4c21b4522e3e4ebd6fd91340984adee1.zip |
Drop separate "version.h"
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/userspace/Makefile | 4 | ||||
-rw-r--r-- | crypto/userspace/cryptodev_main.c | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/crypto/userspace/Makefile b/crypto/userspace/Makefile index 0b031d4b533..f85b473170c 100644 --- a/crypto/userspace/Makefile +++ b/crypto/userspace/Makefile @@ -1,5 +1,4 @@ KERNEL_DIR = /lib/modules/$(shell uname -r)/build -VERSION = 0.99 EXTRA_CFLAGS += -I$(SUBDIRS)/libtommath -I$(SUBDIRS)/libtomcrypt/headers -I$(SUBDIRS)/ -DLTC_SOURCE -Wall @@ -75,7 +74,6 @@ cryptodev-objs = cryptodev_main.o cryptodev_cipher.o ncr.o \ obj-m += cryptodev.o build: - @make version.h make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules install: @@ -109,5 +107,3 @@ dist: clean @gpg --verify $(OUTPUT).sig $(OUTPUT) @mv $(OUTPUT) $(OUTPUT).sig releases/ -version.h: Makefile - @echo "#define VERSION \"$(VERSION)\"" > version.h diff --git a/crypto/userspace/cryptodev_main.c b/crypto/userspace/cryptodev_main.c index 2a0503c3154..5ab11362115 100644 --- a/crypto/userspace/cryptodev_main.c +++ b/crypto/userspace/cryptodev_main.c @@ -43,7 +43,6 @@ #include "cryptodev_int.h" #include "ncr_int.h" #include <linux/version.h> -#include "version.h" MODULE_AUTHOR("Nikos Mavrogiannopoulos <nmav@gnutls.org>"); MODULE_DESCRIPTION("CryptoDev driver"); @@ -1000,7 +999,7 @@ static int __init init_cryptodev(void) if (unlikely(rc)) return rc; - printk(KERN_INFO PFX "driver %s loaded.\n", VERSION); + printk(KERN_INFO PFX "driver loaded.\n"); return 0; } |