All of lore.kernel.org
 help / color / mirror / Atom feed
* Odd dependency on ARM_SCMI_PROTOCOL
@ 2024-10-22 11:55 Jean Delvare
  2024-10-22 12:22 ` Cristian Marussi
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Delvare @ 2024-10-22 11:55 UTC (permalink / raw)
  To: arm-scmi
  Cc: Sudeep Holla, Cristian Marussi, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam

Hi all,

I noticed that the following dependency construct is used several times
throughout the kernel tree:

depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)

Maybe I'm just missing something as I'm not familiar with SCMI, but I
can't really make sense of this. Considering that ARM_SCMI_PROTOCOL
does not depend on OF, I do not understand why it would be OK to build
these drivers under ARM_SCMI_PROTOCOL without OF, but if test-building
under COMPILE_TEST instead, then OF would suddenly be needed. Can
anyone explain the logic?

Considering that ARM_SCMI_PROTOCOL can be enabled through COMPILE_TEST,
and OF is now available on architectures, I think this dependency is
needlessly complex and these drivers could simply use:

depends on ARM_SCMI_PROTOCOL

What do you think?

Thanks,
-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-23  9:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 11:55 Odd dependency on ARM_SCMI_PROTOCOL Jean Delvare
2024-10-22 12:22 ` Cristian Marussi
2024-10-22 15:01   ` Sudeep Holla
2024-10-22 16:13     ` Jean Delvare
2024-10-23  9:50       ` Sudeep Holla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.