diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-24 17:07:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-24 17:07:33 -0300 |
commit | e768886b19cdc2ba666bd52faa7797ff4151ced7 (patch) | |
tree | 9b2b20fbb51059cbf4b75ecac89099aec219b590 /linux/drivers/media/video/usbvideo | |
parent | e3271361d4e681b0327edf793bcd42dad41a9173 (diff) | |
download | mediapointer-dvb-s2-e768886b19cdc2ba666bd52faa7797ff4151ced7.tar.gz mediapointer-dvb-s2-e768886b19cdc2ba666bd52faa7797ff4151ced7.tar.bz2 |
This patch fixes some kernel version checks.
From: Reinhard Schwab <reinhard.schwab@aon.at>
Signed-off-by: Reinhard Schwab <reinhard.schwab@aon.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/usbvideo')
-rw-r--r-- | linux/drivers/media/video/usbvideo/vicam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/usbvideo/vicam.c b/linux/drivers/media/video/usbvideo/vicam.c index 4558e083a..2aa05f7ca 100644 --- a/linux/drivers/media/video/usbvideo/vicam.c +++ b/linux/drivers/media/video/usbvideo/vicam.c @@ -43,7 +43,7 @@ #include <linux/vmalloc.h> #include <linux/slab.h> #include <linux/mutex.h> -#if LINUX_VERSION_CODE => KERNEL_VERSION(2,6,27) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) #include <linux/firmware.h> #include <linux/ihex.h> #endif @@ -516,7 +516,7 @@ initialize_camera(struct vicam_camera *cam) #endif } -#if LINUX_VERSION_CODE => KERNEL_VERSION(2,6,27) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) release_firmware(fw); #endif @@ -1260,6 +1260,6 @@ module_exit(usb_vicam_exit); MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_DESCRIPTION(DRIVER_DESC); MODULE_LICENSE("GPL"); -#if LINUX_VERSION_CODE => KERNEL_VERSION(2,6,27) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) MODULE_FIRMWARE("vicam/firmware.fw"); #endif |