Fix Makefile and add Kconfig for the aes2501 driver.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>

---
 linux-2.6.23/3rdparty/aes2501/Kconfig  |   10 ++++++++++
 linux-2.6.23/3rdparty/aes2501/Makefile |   19 +------------------
 2 files changed, 11 insertions(+), 18 deletions(-)

diff -p -up linux-2.6.23/3rdparty/aes2501/Kconfig.orig linux-2.6.23/3rdparty/aes2501/Kconfig
--- linux-2.6.23/3rdparty/aes2501/Kconfig.orig	2008-01-13 23:14:47.000000000 -0200
+++ linux-2.6.23/3rdparty/aes2501/Kconfig	2008-01-13 23:35:21.000000000 -0200
@@ -0,0 +1,10 @@
+config AES2501
+	tristate "AuthenTec AES2501 Fingerprint Sensor Driver"
+	depends on USB
+	default m
+	---help---
+	  Say Y here if you have a AuthenTec AES2501 Fingerprint
+	  Sensor device.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called aes2501.
diff -p -up linux-2.6.23/3rdparty/aes2501/Makefile.orig linux-2.6.23/3rdparty/aes2501/Makefile
--- linux-2.6.23/3rdparty/aes2501/Makefile.orig	2008-01-13 23:14:36.000000000 -0200
+++ linux-2.6.23/3rdparty/aes2501/Makefile	2008-01-13 23:21:33.000000000 -0200
@@ -1,19 +1,2 @@
-
-obj-m := aes2501.o
-
-KERNELDIR	?= /lib/modules/$(shell uname -r)/build
-
-PWD			:= $(shell pwd)
-
-all: usertest
-	$(MAKE) -C $(KERNELDIR) M=$(PWD)
-
-usertest:
-	gcc -I. -o usertest usertest.c
-
-clean:
-	rm -f *.o *~ aes2501.ko aes2501.mod.c Module.symvers usertest
-	rm -rf .tmp_versions
-	rm -f .*.cmd
-
+obj-$(CONFIG_AES2501) := aes2501.o
 
