d8fec1fc80
Almost all boards have one or more LEDs connected to GPIO lines. This patch adds common code to register a platform_device for them. The patch also adds support for the LEDs on the PB44 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Cc: linux-mips@linux-mips.org Cc: Luis R. Rodriguez <lrodriguez@atheros.com> Cc: Cliff Holden <Cliff.Holden@Atheros.com> Cc: Kathy Giori <Kathy.Giori@Atheros.com> Patchwork: https://patchwork.linux-mips.org/patch/1953/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
24 lines
636 B
Makefile
24 lines
636 B
Makefile
#
|
|
# Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel
|
|
#
|
|
# Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
|
|
# Copyright (C) 2008 Imre Kaloz <kaloz@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
|
|
# by the Free Software Foundation.
|
|
|
|
obj-y := prom.o setup.o irq.o common.o clock.o gpio.o
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
|
|
#
|
|
# Devices
|
|
#
|
|
obj-y += dev-common.o
|
|
obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o
|
|
|
|
#
|
|
# Machines
|
|
#
|
|
obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
|