summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-core.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-04-01 21:10:40 -0400
committerSteven Toth <stoth@hauppauge.com>2008-04-01 21:10:40 -0400
commitc6b588f3025b68a7ca872fc58abe1bd2ff6198d8 (patch)
tree581057db1b29fd26fc5cef25af6dffc876939ed0 /linux/drivers/media/video/au0828/au0828-core.c
parentfb07179eec70f621e5b43d6235f166b3fa081621 (diff)
downloadmediapointer-dvb-s2-c6b588f3025b68a7ca872fc58abe1bd2ff6198d8.tar.gz
mediapointer-dvb-s2-c6b588f3025b68a7ca872fc58abe1bd2ff6198d8.tar.bz2
Avoid an oops if the board is not fully defined.
From: Steven Toth <stoth@hauppauge.com> Avoid an oops if the board is not fully defined. Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-core.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-core.c b/linux/drivers/media/video/au0828/au0828-core.c
index de32d15f6..d4d8ac369 100644
--- a/linux/drivers/media/video/au0828/au0828-core.c
+++ b/linux/drivers/media/video/au0828/au0828-core.c
@@ -244,6 +244,7 @@ static int au0828_usb_probe (struct usb_interface *interface,
au0828_dvb_register(dev);
_info("Registered device AU0828 [%s]\n",
+ au0828_boards[dev->board].name == NULL ? "Unset" :
au0828_boards[dev->board].name);
return 0;