mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 11:32:04 +00:00
cc08d25a88
A platform driver for which nothing ever registers the corresponding platform device. Also it was driving the same hardware as sead3-i2c-drv.c so redundant anyway and couldn't co-exist with that driver because each of them was using a private spinlock to protect access to the same hardware resources. This also fixes a randconfig problem: arch/mips/mti-sead3/sead3-pic32-i2c-drv.c: In function 'i2c_platform_probe': arch/mips/mti-sead3/sead3-pic32-i2c-drv.c:345:2: error: implicit declaration of function 'i2c_add_numbered_adapter' [-Werror=implicit-function-declaration] ret = i2c_add_numbered_adapter(&priv->adap); ^ arch/mips/mti-sead3/sead3-pic32-i2c-drv.c: In function 'i2c_platform_remove': arch/mips/mti-sead3/sead3-pic32-i2c-drv.c:361:2: error: implicit declaration of function 'i2c_del_adapter' [-Werror=implicit-function-declaration] i2c_del_adapter(&priv->adap); Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
23 lines
718 B
Makefile
23 lines
718 B
Makefile
#
|
|
# Carsten Langgaard, carstenl@mips.com
|
|
# Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved.
|
|
#
|
|
# Copyright (C) 2008 Wind River Systems, Inc.
|
|
# written by Ralf Baechle <ralf@linux-mips.org>
|
|
#
|
|
# Copyright (C) 2012 MIPS Technoligies, Inc. All rights reserved.
|
|
# Steven J. Hill <sjhill@mips.com>
|
|
#
|
|
obj-y := sead3-lcd.o sead3-display.o sead3-init.o \
|
|
sead3-int.o sead3-mtd.o sead3-net.o \
|
|
sead3-platform.o sead3-reset.o \
|
|
sead3-setup.o sead3-time.o
|
|
|
|
obj-y += sead3-i2c-dev.o sead3-i2c.o \
|
|
leds-sead3.o sead3-leds.o
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += sead3-console.o
|
|
obj-$(CONFIG_USB_EHCI_HCD) += sead3-ehci.o
|
|
|
|
CFLAGS_sead3-setup.o = -I$(src)/../../../scripts/dtc/libfdt
|