浏览代码

[media] airspy: print notice to point SDR API is not 100% stable yet

Print notice on driver load: "SDR API is still slightly
experimental and functionality changes may follow". It is just
remind possible used SDR API is very new and surprises may occur.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Antti Palosaari 11 年之前
父节点
当前提交
ac4f90ca1b
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      drivers/media/usb/airspy/airspy.c

+ 3 - 1
drivers/media/usb/airspy/airspy.c

@@ -1084,7 +1084,9 @@ static int airspy_probe(struct usb_interface *intf,
 	}
 	dev_info(&s->udev->dev, "Registered as %s\n",
 			video_device_node_name(&s->vdev));
-
+	dev_notice(&s->udev->dev,
+			"%s: SDR API is still slightly experimental and functionality changes may follow\n",
+			KBUILD_MODNAME);
 	return 0;
 
 err_free_controls: