diff --git a/include/asm-x86/geode.h b/include/asm-x86/geode.h index 8a53bc8172301ece042151f061cfd3d36cd418a3..6e6458853a36322bc2830628270f8a6656d6c9f3 100644 --- a/include/asm-x86/geode.h +++ b/include/asm-x86/geode.h @@ -185,7 +185,14 @@ static inline int is_geode(void) return (is_geode_gx() || is_geode_lx()); } +#ifdef CONFIG_MGEODE_LX extern int geode_has_vsa2(void); +#else +static inline int geode_has_vsa2(void) +{ + return 0; +} +#endif /* MFGPTs */