Tag: e16a48845deefc417738b22a801e94486abd1d6f

staging: gdm724x: constify tty_port_operations structs

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Constifies tty_port_operations structure in the tty code of the gdm724x driver since it is not modified after its initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman — drivers/staging/gdm724x/gdm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c index …

Continue reading