| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ispccp2.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 8 | 9 | * |
|---|
| 9 | 10 | * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
|---|
| 10 | 11 | * 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. |
|---|
| 15 | 12 | */ |
|---|
| 16 | 13 | |
|---|
| 17 | 14 | #include <linux/delay.h> |
|---|
| .. | .. |
|---|
| 1071 | 1068 | |
|---|
| 1072 | 1069 | v4l2_subdev_init(sd, &ccp2_sd_ops); |
|---|
| 1073 | 1070 | sd->internal_ops = &ccp2_sd_internal_ops; |
|---|
| 1074 | | - strlcpy(sd->name, "OMAP3 ISP CCP2", sizeof(sd->name)); |
|---|
| 1071 | + strscpy(sd->name, "OMAP3 ISP CCP2", sizeof(sd->name)); |
|---|
| 1075 | 1072 | sd->grp_id = 1 << 16; /* group ID for isp subdevs */ |
|---|
| 1076 | 1073 | v4l2_set_subdevdata(sd, ccp2); |
|---|
| 1077 | 1074 | sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; |
|---|