mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
Merge tag 'i2c-host-fixes-6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-current
An unused const variable kind of error has been fixed by placing the definition of icr_bits[] inside the ifdef block where it is used.
This commit is contained in:
@@ -324,6 +324,7 @@ static void decode_ISR(unsigned int val)
|
||||
decode_bits(KERN_DEBUG "ISR", isr_bits, ARRAY_SIZE(isr_bits), val);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_I2C_PXA_SLAVE
|
||||
static const struct bits icr_bits[] = {
|
||||
PXA_BIT(ICR_START, "START", NULL),
|
||||
PXA_BIT(ICR_STOP, "STOP", NULL),
|
||||
@@ -342,7 +343,6 @@ static const struct bits icr_bits[] = {
|
||||
PXA_BIT(ICR_UR, "UR", "ur"),
|
||||
};
|
||||
|
||||
#ifdef CONFIG_I2C_PXA_SLAVE
|
||||
static void decode_ICR(unsigned int val)
|
||||
{
|
||||
decode_bits(KERN_DEBUG "ICR", icr_bits, ARRAY_SIZE(icr_bits), val);
|
||||
|
||||
Reference in New Issue
Block a user