Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754228AbbKQQS2 (ORCPT ); Tue, 17 Nov 2015 11:18:28 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:54546 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753587AbbKQQS0 (ORCPT ); Tue, 17 Nov 2015 11:18:26 -0500 X-Greylist: delayed 18887 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Nov 2015 11:18:25 EST From: Arnd Bergmann To: linux-media@vger.kernel.org, Mauro Carvalho Chehab Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Antti Palosaari Subject: [PATCH] [MEDIA] dvb: usb: fix dib3000mc dependencies Date: Tue, 17 Nov 2015 17:17:39 +0100 Message-ID: <3984729.n55BH9Zr8c@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:HVoin34luXsQtGxNav+wboZVoXzNVtmhxKSrijy6THDmhE8P6/e XsG9rApzgoAvsy+nlYvYnpkxX+BD5vMYkQyF22X+neLy1gvbYPapUvmj4oCipkNtsXn5b+N OdLWwZpgTUmHVb4BSVennBnthiX0lz/+6nobdbhyT0jOXsSi97aUUAEjlUxjayP/Qv8zn5N jwQXv8VjSxLYY6cEHVCnw== X-UI-Out-Filterresults: notjunk:1;V01:K0:YG6Uq0K5vtM=:Zbn3+fuzJfiK2w/mB7M4rl jRAyRv1aOcjjQxnP+qDsQCjGzqVkIcTmifMuVMwZkbqMJvXOAK66auqNG+oAlJqUZ6JRENAWw Vmt8S/kWara76nKaxaxCxgMGSqoDa40hqLbjrTwmfNm08AQDEcWUkQ41gU/LVz+bPG2EgUhnp Im4FZbAe2FAgy3AKBl8FQNEz67qH+8oaGQ5pGsgaTvdnX0bgkCeS4UqXFsxI4CUSkM/NHnlYd ujTPGOsovcRGV5Z3nyatWkGmYITy0uK/3xGWTuPvGo1vtB1vVmYq/DfxoK4/ctQ20ZdJAXCb9 hqZQ+RkIBrIl9asGRfESw6s9siTckylPEUAh2W6xdN+xNfGIYl5YmEnpiSiPASVEa/JoY54Ik T5G85B+CdW5sDURO9cH8ZpRDoL0Ixarljn2l1hefA6LxcQGjWpQXXklreeLCXvFveLMWMsyH9 JvNiZRzx/dqrGWRb30WAKXRB1FekSn75p/ClJCLYJGkqvw+7pEbz+RpmYOVEU9rJUaD32PoHe jyrgC9ndlVSzDIvNcrvoEjBPm5V+Q7FywRHp0IICHsLlz++Ys67qbiUzsb1xK1CPn9cGi7gsB 5S+Je6G+5CQi8Wwtrof26j9wVZWlASdKusRVUA36aCY4n5FQFgKF6ipC7xn1oQuSNRcjmBH2Y luCQjFCe/lxEZVR4yjQjMBfBIMc8iiK9S7fDoXUWLkDiT6gszeft8FXnj6EnixyNjufZS9man BDUX/VIWkEnJ6OQV Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1481 Lines: 34 The dibusb_read_eeprom_byte function is defined in dibusb-common.c, but that file is not compiled for CONFIG_DVB_USB_DIBUSB_MB as it is for the other driver using the common functions, so we can get a link error: drivers/built-in.o: In function `dibusb_dib3000mc_tuner_attach': (.text+0x2c5124): undefined reference to `dibusb_read_eeprom_byte' (.text+0x2c5134): undefined reference to `dibusb_read_eeprom_byte' This changes the Makefile to treat the file like all the others in this directory, and enforce building dvb-usb-dibusb-common.o as a dependency. Signed-off-by: Arnd Bergmann diff --git a/drivers/media/usb/dvb-usb/Makefile b/drivers/media/usb/dvb-usb/Makefile index 8da26352f73b..048ab0b6c36d 100644 --- a/drivers/media/usb/dvb-usb/Makefile +++ b/drivers/media/usb/dvb-usb/Makefile @@ -17,7 +17,7 @@ obj-$(CONFIG_DVB_USB_DTT200U) += dvb-usb-dtt200u.o dvb-usb-dibusb-common-objs := dibusb-common.o dvb-usb-dibusb-mc-common-objs := dibusb-mc-common.o -obj-$(CONFIG_DVB_USB_DIB3000MC) += dvb-usb-dibusb-mc-common.o +obj-$(CONFIG_DVB_USB_DIB3000MC) += dvb-usb-dibusb-common.o dvb-usb-dibusb-mc-common.o dvb-usb-a800-objs := a800.o obj-$(CONFIG_DVB_USB_A800) += dvb-usb-dibusb-common.o dvb-usb-a800.o -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/