From patchwork Tue Nov 22 11:32:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 127064 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ww0-f56.google.com (mail-ww0-f56.google.com [74.125.82.56]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 362DCB6F91 for ; Tue, 22 Nov 2011 22:33:11 +1100 (EST) Received: by wwg14 with SMTP id 14sf300212wwg.11 for ; Tue, 22 Nov 2011 03:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=js7Nq1LTmo7BeC51UYvIRmiyZ6YfRL2qmvydl+NhvQw=; b=RzfwpNQ6T8eqJk0TOfxpjtHiCywPYMZuKLiZCUDTRZj/oc4gWUYNgObQ5o1kpQi4wY z7eHwvQdix4/vNZ+BYK5AG0gLfy0/U/iQ/DlyRh3Urjv25SrPR9Ackyq1+DLHnqFjoO8 QfkKnuGBkoWpwcyzf1iBlrX5EPfRa98Q8NxB8= Received: by 10.216.19.201 with SMTP id n51mr454653wen.60.1321961582648; Tue, 22 Nov 2011 03:33:02 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.14.32.200 with SMTP id o48ls58557eea.3.gmail; Tue, 22 Nov 2011 03:33:01 -0800 (PST) Received: by 10.180.75.2 with SMTP id y2mr1471741wiv.0.1321961581683; Tue, 22 Nov 2011 03:33:01 -0800 (PST) Received: by 10.180.75.2 with SMTP id y2mr1471740wiv.0.1321961581675; Tue, 22 Nov 2011 03:33:01 -0800 (PST) Received: from mail-ey0-f179.google.com (mail-ey0-f179.google.com [209.85.215.179]) by gmr-mx.google.com with ESMTPS id r13si7125142wbo.2.2011.11.22.03.33.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Nov 2011 03:33:01 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.179 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) client-ip=209.85.215.179; Received: by eyz10 with SMTP id 10so46613eyz.38 for ; Tue, 22 Nov 2011 03:33:01 -0800 (PST) Received: by 10.180.3.71 with SMTP id a7mr18412118wia.0.1321961581390; Tue, 22 Nov 2011 03:33:01 -0800 (PST) Received: from e103592.peterhouse.linaro.org (fw-lnat.cambridge.arm.com. [217.140.96.63]) by mx.google.com with ESMTPS id fq9sm11766819wbb.5.2011.11.22.03.32.58 (version=SSLv3 cipher=OTHER); Tue, 22 Nov 2011 03:33:00 -0800 (PST) From: Dave Martin To: Russell King - ARM Linux Cc: patches@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alan Cox , Alessandro Rubini , Alessandro Zummo , alsa-devel@alsa-project.org, Chris Ball , Dan Williams , Dmitry Torokhov , Grant Likely , Jaroslav Kysela , Jassi Brar , Julia Lawall , Linus Walleij , linux-fbdev@vger.kernel.org, linux-input@vger.kernel.org, linux-mmc@vger.kernel.org, linux-serial@vger.kernel.org, linux-watchdog@vger.kernel.org, Paul Mundt , =?UTF-8?q?Pawe=C5=82=20Moll?= , rtc-linux@googlegroups.com, spi-devel-general@lists.sourceforge.net, Takashi Iwai , Vinod Koul , Wim Van Sebroeck Subject: [rtc-linux] [GIT PULL] ARM: amba: Enable module alias autogeneration for AMBA drivers Date: Tue, 22 Nov 2011 11:32:53 +0000 Message-Id: <1321961573-4562-1-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Original-Sender: dave.martin@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.215.179 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) smtp.mail=dave.martin@linaro.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , Hi Russell, This series enables the general infrastructure for modalias generation to work for AMBA devices, and enables it in the affected drivers. Since there are several patches here, I though it better to send a pull request. The first two patches (subject lines "ARM: amba: ...") are the core patches; the remainder of the patches are the driver changes -- each is trivial and simply adds a MODULE_DEVICE_ALIAS() entry. I have Acks on some of the driver patches and no comments on the rest. I've been circulating these for some time, so if you're happy to pull those driver patches via your tree, please go ahead. Otherwise, let me know and I can continue trying to push the driver patches via other routes. Cheers ---Dave The following changes since commit cfcfc9eca2bcbd26a8e206baeb005b055dbf8e37: Linux 3.2-rc2 (2011-11-15 15:02:59 -0200) are available in the git repository at: git://git.linaro.org/people/dmart/linux-2.6-arm.git arm/amba-modalias+for-rmk Dave Martin (16): ARM: amba: Move definition of struct amba_id to mod_devicetable.h ARM: amba: Auto-generate AMBA driver module aliases during modpost hwrng: nomadik: Enable module alias autogeneration for AMBA drivers dmaengine: pl08x: Enable module alias autogeneration for AMBA drivers dmaengine: pl330: Enable module alias autogeneration for AMBA drivers gpio: pl061: Enable module alias autogeneration for AMBA drivers input: ambakmi: Enable module alias autogeneration for AMBA drivers mmc: mmci: Enable module alias autogeneration for AMBA drivers rtc: pl030: Enable module alias autogeneration for AMBA drivers rtc: pl031: Enable module alias autogeneration for AMBA drivers spi: pl022: Enable module alias autogeneration for AMBA drivers serial: pl010: Enable module alias autogeneration for AMBA drivers serial: pl011: Enable module alias autogeneration for AMBA drivers fbdev: amba: Enable module alias autogeneration for AMBA drivers watchdog: sp805: Enable module alias autogeneration for AMBA drivers sound: aaci: Enable module alias autogeneration for AMBA drivers drivers/amba/bus.c | 4 ++ drivers/char/hw_random/nomadik-rng.c | 2 + drivers/dma/amba-pl08x.c | 2 + drivers/dma/pl330.c | 2 + drivers/gpio/gpio-pl061.c | 2 + drivers/input/serio/ambakmi.c | 2 + drivers/mmc/host/mmci.c | 2 + drivers/rtc/rtc-pl030.c | 2 + drivers/rtc/rtc-pl031.c | 2 + drivers/spi/spi-pl022.c | 2 + drivers/tty/serial/amba-pl010.c | 2 + drivers/tty/serial/amba-pl011.c | 2 + drivers/video/amba-clcd.c | 2 + drivers/watchdog/sp805_wdt.c | 2 + include/linux/amba/bus.h | 7 +--- include/linux/mod_devicetable.h | 18 ++++++++ scripts/mod/file2alias.c | 72 ++++++++++++++++++++++++++++++++++ sound/arm/aaci.c | 2 + 18 files changed, 123 insertions(+), 6 deletions(-) Acked-by: -- sorry for not noting it earlier) but I think this