samples: pfsm: add CC_CAN_LINK dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Jun 2023 14:50:10 +0000 (16:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jun 2023 15:13:24 +0000 (17:13 +0200)
commita5052c85b9def55cf1c6d13bbed0ae07ffb1c6a1
tree697e77e998d9cd526cc9a19cb15294e05005617a
parentaf2e19d82a116bc622eea84c9faadd5f7e20bec4
samples: pfsm: add CC_CAN_LINK dependency

When no libc for the target architecture is available, cross-compiling
the same cannot work:

samples/pfsm/pfsm-wakeup.c:12:10: fatal error: fcntl.h: No such file or directory

Fixes: 9e66fb5244953 ("samples: Add userspace example for TI TPS6594 PFSM")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230616145013.3889906-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/Kconfig