ramips: add common gpio-buttons device
[openwrt/openwrt.git] / target / linux / ramips / files / arch / mips / ralink / common / Makefile
index c2cf48bcb72e947e6175605163687731807d93df..adab85f6894989af9fed911853c9fc511603a93d 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Makefile for the Ralink common stuff
 #
-# Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
+# Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
 #
 # This program is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License version 2 as published
@@ -9,4 +9,5 @@
 
 obj-y  := prom.o setup.o intc.o gpio.o
 
+obj-$(CONFIG_RALINK_DEV_GPIO_BUTTONS)  += dev-gpio-buttons.o
 obj-$(CONFIG_RALINK_DEV_GPIO_LEDS)     += dev-gpio-leds.o