[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <480fef02-09ed-9a32-d5bb-e7114381220c@axentia.se>
Date: Wed, 22 Nov 2023 17:41:37 +0100
From: Peter Rosin <peda@...ntia.se>
To: Bartosz Golaszewski <brgl@...ev.pl>,
Wolfram Sang <wsa@...-dreams.de>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH] eeprom: at24: use of_match_ptr()
Hi!
2023-11-22 at 16:59, Bartosz Golaszewski wrote:
> - .of_match_table = at24_of_match,
> + .of_match_table = of_match_ptr(at24_of_match),
If you do that, you will need to also add #ifdef CONFIG_OF around the
at24_of_match definition, of you'll trigger a warning about an unused
const variable (for some configs). I think.
Cheers,
Peter
Powered by blists - more mailing lists