mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 09:36:39 -04:00
i2c: designware: constify abort_sources
We never modify abort_sources, mark it as const. Signed-off-by: Raag Jadav <raag.jadav@intel.com> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "i2c-designware-core.h"
|
||||
|
||||
static char *abort_sources[] = {
|
||||
static const char *const abort_sources[] = {
|
||||
[ABRT_7B_ADDR_NOACK] =
|
||||
"slave address not acknowledged (7bit mode)",
|
||||
[ABRT_10ADDR1_NOACK] =
|
||||
|
||||
Reference in New Issue
Block a user