diff options
author | Roger Quadros <rogerq@ti.com> | 2016-08-24 12:10:17 +0300 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2016-08-29 11:00:23 +0300 |
commit | 0680b0cabcd0a2264f0ad8ac569caf928f65afb6 (patch) | |
tree | 7a1ae1ec233cf967f26f4b0fed6fed7c82f3e39d /include/linux/omap-gpmc.h | |
parent | 525fe43f55ff6d110680bb3d750bed3dda01b989 (diff) |
memory: omap-gpmc: Fix build with CONFIG_OMAP_GPMC disabled
Fix the following build failure if omap-gpmc.h is
used with CONFIG_OMAP_GPMC disabled.
./include/linux/omap-gpmc.h:32:1: error: unknown type name ‘gpmc_nand_ops’
Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'include/linux/omap-gpmc.h')
-rw-r--r-- | include/linux/omap-gpmc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/omap-gpmc.h b/include/linux/omap-gpmc.h index 9e9d79e8efa5..35d0fd7a4948 100644 --- a/include/linux/omap-gpmc.h +++ b/include/linux/omap-gpmc.h @@ -29,8 +29,8 @@ struct gpmc_nand_regs; struct gpmc_nand_ops *gpmc_omap_get_nand_ops(struct gpmc_nand_regs *regs, int cs); #else -static inline gpmc_nand_ops *gpmc_omap_get_nand_ops(struct gpmc_nand_regs *regs, - int cs) +static inline struct gpmc_nand_ops *gpmc_omap_get_nand_ops(struct gpmc_nand_regs *regs, + int cs) { return NULL; } |