Re: [PATCH] watchdog: cadence_wdt: make of_device_ids const.

2017-06-20 Thread Guenter Roeck
On Tue, Jun 20, 2017 at 11:04:26AM +0530, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >text data

Re: [PATCH] watchdog: cadence_wdt: make of_device_ids const.

2017-06-20 Thread Guenter Roeck
On Tue, Jun 20, 2017 at 11:04:26AM +0530, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >text data

[PATCH] watchdog: cadence_wdt: make of_device_ids const.

2017-06-19 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 1962 612 42578 a12

[PATCH] watchdog: cadence_wdt: make of_device_ids const.

2017-06-19 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 1962 612 42578 a12