HID: intel-ish-hid: constify device_type structure
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 11 Feb 2017 07:10:37 +0000 (12:40 +0530)
committerJiri Kosina <jkosina@suse.cz>
Tue, 14 Feb 2017 14:32:34 +0000 (15:32 +0100)
commit12be9f7b5861f14f010ae1ce3b343ae903d7a74d
treeacf142a638a2659c2f3259bb95e3c0cbbb4bf93c
parent291e9e3f6931eda50be839500c15b1135146aaf6
HID: intel-ish-hid: constify device_type structure

Declare device_type structure as const as it is only stored in the
type field of a device structure. This field is of type const, so add
const to the declaration of device_type structure.

File size before: drivers/hid/intel-ish-hid/ishtp/bus.o
   text    data     bss     dec     hex filename
   4260     336      16    4612    1204 hid/intel-ish-hid/ishtp/bus.o

File size after: drivers/hid/intel-ish-hid/ishtp/bus.o
   text    data     bss     dec     hex filename
   4324     272      16    4612    1204 hid/intel-ish-hid/ishtp/bus.o

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ishtp/bus.c