Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jesd204: core: support module compilation
Two things that need to be fixed in order to have jesd204 core compiled as module (or allow users to be compiled as modules). 1) We need to properly export jesd204_printk() as it's being used by other drives/modules. 2) We also need to use IS_ENABLED() instead of defined(CONFIG_JESD204) since IS_ENABLED() will evaluates to y if the config option is set to y or m. Fixes: 2b1927d ("jesd204: check if CONFIG_JESD204 is defined") Fixes: 90be5cc ("jesd204: core: add printk helpers") Signed-off-by: Nuno Sa <[email protected]>
- Loading branch information