--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -491,8 +491,8 @@ config GPIO_RDA
 
 config GPIO_REALTEK_OTTO
 	tristate "Realtek Otto GPIO support"
-	depends on MACH_REALTEK_RTL
-	default MACH_REALTEK_RTL
+	depends on RTL83XX
+	default RTL838X
 	select GPIO_GENERIC
 	select GPIOLIB_IRQCHIP
 	help
