Skip to content

Commit cf17b95

Browse files
committed
Merge tag 'i2c-for-6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fix from Wolfram Sang: "A host driver build fix" * tag 'i2c-for-6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: pxa: hide unused icr_bits[] variable
2 parents 9520c19 + 5ceeabb commit cf17b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-pxa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ static void decode_ISR(unsigned int val)
324324
decode_bits(KERN_DEBUG "ISR", isr_bits, ARRAY_SIZE(isr_bits), val);
325325
}
326326

327+
#ifdef CONFIG_I2C_PXA_SLAVE
327328
static const struct bits icr_bits[] = {
328329
PXA_BIT(ICR_START, "START", NULL),
329330
PXA_BIT(ICR_STOP, "STOP", NULL),
@@ -342,7 +343,6 @@ static const struct bits icr_bits[] = {
342343
PXA_BIT(ICR_UR, "UR", "ur"),
343344
};
344345

345-
#ifdef CONFIG_I2C_PXA_SLAVE
346346
static void decode_ICR(unsigned int val)
347347
{
348348
decode_bits(KERN_DEBUG "ICR", icr_bits, ARRAY_SIZE(icr_bits), val);

0 commit comments

Comments
 (0)