forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/media/platform/omap3isp/ispresizer.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ispresizer.c
34 *
....@@ -8,10 +9,6 @@
89 *
910 * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
1011 * Sakari Ailus <sakari.ailus@iki.fi>
11
- *
12
- * This program is free software; you can redistribute it and/or modify
13
- * it under the terms of the GNU General Public License version 2 as
14
- * published by the Free Software Foundation.
1512 */
1613
1714 #include <linux/device.h>
....@@ -1724,7 +1721,7 @@
17241721
17251722 v4l2_subdev_init(sd, &resizer_v4l2_ops);
17261723 sd->internal_ops = &resizer_v4l2_internal_ops;
1727
- strlcpy(sd->name, "OMAP3 ISP resizer", sizeof(sd->name));
1724
+ strscpy(sd->name, "OMAP3 ISP resizer", sizeof(sd->name));
17281725 sd->grp_id = 1 << 16; /* group ID for isp subdevs */
17291726 v4l2_set_subdevdata(sd, res);
17301727 sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;