]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/hmcdrv: constify hmcdrv_ftp_ops structs
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Sun, 13 Dec 2015 18:51:49 +0000 (20:51 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Dec 2015 09:34:25 +0000 (10:34 +0100)
commitc967e1df169d033b2da74e979e91b6e297e194fa
tree58f39bf275fcdf1e028178d9c03d1c0cef525f05
parent8cb708f3d35e78f00528caf2f681900d2c7883b8
s390/hmcdrv: constify hmcdrv_ftp_ops structs

Constifies hmcdrv_ftp_ops structures in s390's char
driver since they are not modified after their
initialization.

Detected and found using Coccinelle.

Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/hmcdrv_ftp.c