aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index f56ae4852165..78f0f7a706ea 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -1949,7 +1949,7 @@ static int em28xx_usb_probe(struct usb_interface *interface,
1949 1949
1950 model=id->driver_info; 1950 model=id->driver_info;
1951 1951
1952 if (nr > EM28XX_MAXBOARDS) { 1952 if (nr >= EM28XX_MAXBOARDS) {
1953 printk (DRIVER_NAME ": Supports only %i em28xx boards.\n",EM28XX_MAXBOARDS); 1953 printk (DRIVER_NAME ": Supports only %i em28xx boards.\n",EM28XX_MAXBOARDS);
1954 em28xx_devused&=~(1<<nr); 1954 em28xx_devused&=~(1<<nr);
1955 return -ENOMEM; 1955 return -ENOMEM;