media: Staging: atomisp: constify driver_attribute
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 31 Aug 2017 07:48:37 +0000 (03:48 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 19:01:56 +0000 (15:01 -0400)
commit6d5f41985f408e35e63a710429434d0c0c1153ce
treeda854f77c9723075566570f1fc4f9a6e549b7796
parent727d38a89179fb052b946c59860f86353b9daeb5
media: Staging: atomisp: constify driver_attribute

driver_attribute are not supposed to change at runtime.
Functions driver_create_file/driver_remove_file are working with
const driver_attribute. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_drvfs.c