All of lore.kernel.org
 help / color / mirror / Atom feed
  • * [PATCH 04/13] mmc: mxs-mmc: Let device core handle pinctrl
           [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
           [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
    @ 2013-05-06 18:05 ` Fabio Estevam
      2013-05-26 21:01   ` Fabio Estevam
      2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
                       ` (5 subsequent siblings)
      7 siblings, 1 reply; 33+ messages in thread
    From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
      To: shawn.guo; +Cc: kernel, festevam, Fabio Estevam, Chris Ball, linux-mmc
    
    Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
    we can rely on device core for handling pinctrl.
    
    So remove devm_pinctrl_get_select_default() from the driver. 
    
    Cc: Chris Ball <cjb@laptop.org>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
     drivers/mmc/host/mxs-mmc.c |    8 --------
     1 file changed, 8 deletions(-)
    
    diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
    index 4efe302..2f64e5a 100644
    --- a/drivers/mmc/host/mxs-mmc.c
    +++ b/drivers/mmc/host/mxs-mmc.c
    @@ -41,7 +41,6 @@
     #include <linux/gpio.h>
     #include <linux/regulator/consumer.h>
     #include <linux/module.h>
    -#include <linux/pinctrl/consumer.h>
     #include <linux/stmp_device.h>
     #include <linux/spi/mxs-spi.h>
     
    @@ -592,7 +591,6 @@ static int mxs_mmc_probe(struct platform_device *pdev)
     	struct mxs_mmc_host *host;
     	struct mmc_host *mmc;
     	struct resource *iores, *dmares;
    -	struct pinctrl *pinctrl;
     	int ret = 0, irq_err, irq_dma;
     	dma_cap_mask_t mask;
     	struct regulator *reg_vmmc;
    @@ -651,12 +649,6 @@ static int mxs_mmc_probe(struct platform_device *pdev)
     		}
     	}
     
    -	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
    -	if (IS_ERR(pinctrl)) {
    -		ret = PTR_ERR(pinctrl);
    -		goto out_mmc_free;
    -	}
    -
     	ssp->clk = clk_get(&pdev->dev, NULL);
     	if (IS_ERR(ssp->clk)) {
     		ret = PTR_ERR(ssp->clk);
    -- 
    1.7.9.5
    
    
    
    ^ permalink raw reply related	[flat|nested] 33+ messages in thread
  • * [PATCH 05/13] mtd: gpmi-nand : Let device core handle pinctrl
           [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
           [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
      2013-05-06 18:05 ` [PATCH 04/13] mmc: mxs-mmc: " Fabio Estevam
    @ 2013-05-06 18:05 ` Fabio Estevam
      2013-05-26 21:00   ` Fabio Estevam
                         ` (2 more replies)
      2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: " Fabio Estevam
                       ` (4 subsequent siblings)
      7 siblings, 3 replies; 33+ messages in thread
    From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
      To: shawn.guo; +Cc: Fabio Estevam, Artem Bityutskiy, linux-mtd, festevam, kernel
    
    Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
    we can rely on device core for handling pinctrl.
    
    So remove devm_pinctrl_get_select_default() from the driver. 
    
    Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
    Cc: <linux-mtd@lists.infradead.org>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
     drivers/mtd/nand/gpmi-nand/gpmi-nand.c |    9 ---------
     1 file changed, 9 deletions(-)
    
    diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
    index 717881a..e8adefa 100644
    --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
    +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
    @@ -26,7 +26,6 @@
     #include <linux/interrupt.h>
     #include <linux/module.h>
     #include <linux/mtd/partitions.h>
    -#include <linux/pinctrl/consumer.h>
     #include <linux/of.h>
     #include <linux/of_device.h>
     #include <linux/of_mtd.h>
    @@ -565,7 +564,6 @@ err_clock:
     
     static int acquire_resources(struct gpmi_nand_data *this)
     {
    -	struct pinctrl *pinctrl;
     	int ret;
     
     	ret = acquire_register_block(this, GPMI_NAND_GPMI_REGS_ADDR_RES_NAME);
    @@ -584,19 +582,12 @@ static int acquire_resources(struct gpmi_nand_data *this)
     	if (ret)
     		goto exit_dma_channels;
     
    -	pinctrl = devm_pinctrl_get_select_default(&this->pdev->dev);
    -	if (IS_ERR(pinctrl)) {
    -		ret = PTR_ERR(pinctrl);
    -		goto exit_pin;
    -	}
    -
     	ret = gpmi_get_clks(this);
     	if (ret)
     		goto exit_clock;
     	return 0;
     
     exit_clock:
    -exit_pin:
     	release_dma_channels(this);
     exit_dma_channels:
     	release_bch_irq(this);
    -- 
    1.7.9.5
    
    ^ permalink raw reply related	[flat|nested] 33+ messages in thread
  • * [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl
           [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                       ` (2 preceding siblings ...)
      2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
    @ 2013-05-06 18:05 ` Fabio Estevam
      2013-05-08 11:51   ` Alexander Shishkin
      2013-05-26 21:02   ` Fabio Estevam
      2013-05-06 18:05 ` [PATCH 09/13] serial: imx: " Fabio Estevam
                       ` (3 subsequent siblings)
      7 siblings, 2 replies; 33+ messages in thread
    From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
      To: shawn.guo; +Cc: kernel, festevam, Fabio Estevam, Thierry Reding, linux-kernel
    
    Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
    we can rely on device core for handling pinctrl.
    
    So remove devm_pinctrl_get_select_default() from the driver. 
    
    Cc: Thierry Reding <thierry.reding@avionic-design.de>
    Cc: <linux-kernel@vger.kernel.org>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
     drivers/pwm/pwm-mxs.c |    6 ------
     1 file changed, 6 deletions(-)
    
    diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
    index a53d309..7dd6544 100644
    --- a/drivers/pwm/pwm-mxs.c
    +++ b/drivers/pwm/pwm-mxs.c
    @@ -16,7 +16,6 @@
     #include <linux/module.h>
     #include <linux/of.h>
     #include <linux/of_address.h>
    -#include <linux/pinctrl/consumer.h>
     #include <linux/platform_device.h>
     #include <linux/pwm.h>
     #include <linux/slab.h>
    @@ -131,7 +130,6 @@ static int mxs_pwm_probe(struct platform_device *pdev)
     	struct device_node *np = pdev->dev.of_node;
     	struct mxs_pwm_chip *mxs;
     	struct resource *res;
    -	struct pinctrl *pinctrl;
     	int ret;
     
     	mxs = devm_kzalloc(&pdev->dev, sizeof(*mxs), GFP_KERNEL);
    @@ -143,10 +141,6 @@ static int mxs_pwm_probe(struct platform_device *pdev)
     	if (IS_ERR(mxs->base))
     		return PTR_ERR(mxs->base);
     
    -	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
    -	if (IS_ERR(pinctrl))
    -		return PTR_ERR(pinctrl);
    -
     	mxs->clk = devm_clk_get(&pdev->dev, NULL);
     	if (IS_ERR(mxs->clk))
     		return PTR_ERR(mxs->clk);
    -- 
    1.7.9.5
    
    
    
    ^ permalink raw reply related	[flat|nested] 33+ messages in thread
  • * [PATCH 09/13] serial: imx: Let device core handle pinctrl
           [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                       ` (3 preceding siblings ...)
      2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: " Fabio Estevam
    @ 2013-05-06 18:05 ` Fabio Estevam
      2013-05-20 18:50   ` Greg Kroah-Hartman
      2013-05-06 18:05 ` [PATCH 10/13] serial: mxs-auart: " Fabio Estevam
                       ` (2 subsequent siblings)
      7 siblings, 1 reply; 33+ messages in thread
    From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
      To: shawn.guo
      Cc: kernel, festevam, Fabio Estevam, Greg Kroah-Hartman, linux-serial
    
    Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
    we can rely on device core for handling pinctrl.
    
    So remove devm_pinctrl_get_select_default() from the driver. 
    
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: <linux-serial@vger.kernel.org>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
     drivers/tty/serial/imx.c |    9 ---------
     1 file changed, 9 deletions(-)
    
    diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
    index 147c9e1..8552700 100644
    --- a/drivers/tty/serial/imx.c
    +++ b/drivers/tty/serial/imx.c
    @@ -47,7 +47,6 @@
     #include <linux/slab.h>
     #include <linux/of.h>
     #include <linux/of_device.h>
    -#include <linux/pinctrl/consumer.h>
     #include <linux/io.h>
     
     #include <asm/irq.h>
    @@ -1466,7 +1465,6 @@ static int serial_imx_probe(struct platform_device *pdev)
     	void __iomem *base;
     	int ret = 0;
     	struct resource *res;
    -	struct pinctrl *pinctrl;
     
     	sport = devm_kzalloc(&pdev->dev, sizeof(*sport), GFP_KERNEL);
     	if (!sport)
    @@ -1502,13 +1500,6 @@ static int serial_imx_probe(struct platform_device *pdev)
     	sport->timer.function = imx_timeout;
     	sport->timer.data     = (unsigned long)sport;
     
    -	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
    -	if (IS_ERR(pinctrl)) {
    -		ret = PTR_ERR(pinctrl);
    -		dev_err(&pdev->dev, "failed to get default pinctrl: %d\n", ret);
    -		return ret;
    -	}
    -
     	sport->clk_ipg = devm_clk_get(&pdev->dev, "ipg");
     	if (IS_ERR(sport->clk_ipg)) {
     		ret = PTR_ERR(sport->clk_ipg);
    -- 
    1.7.9.5
    
    
    
    ^ permalink raw reply related	[flat|nested] 33+ messages in thread
  • * [PATCH 10/13] serial: mxs-auart: Let device core handle pinctrl
           [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                       ` (4 preceding siblings ...)
      2013-05-06 18:05 ` [PATCH 09/13] serial: imx: " Fabio Estevam
    @ 2013-05-06 18:05 ` Fabio Estevam
      2013-05-20 18:49   ` Greg Kroah-Hartman
      2013-05-06 18:06 ` [PATCH 12/13] ASoC: fsl: imx-audmux: " Fabio Estevam
      2013-05-06 18:06 ` [PATCH 13/13] ASoC: mxs: mxs-saif: " Fabio Estevam
      7 siblings, 1 reply; 33+ messages in thread
    From: Fabio Estevam @ 2013-05-06 18:05 UTC (permalink / raw)
      To: shawn.guo
      Cc: kernel, festevam, Fabio Estevam, Greg Kroah-Hartman, linux-serial
    
    Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
    we can rely on device core for handling pinctrl.
    
    So remove devm_pinctrl_get_select_default() from the driver. 
    
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: <linux-serial@vger.kernel.org>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
     drivers/tty/serial/mxs-auart.c |    8 --------
     1 file changed, 8 deletions(-)
    
    diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c
    index d549fe1..573d656 100644
    --- a/drivers/tty/serial/mxs-auart.c
    +++ b/drivers/tty/serial/mxs-auart.c
    @@ -32,7 +32,6 @@
     #include <linux/clk.h>
     #include <linux/delay.h>
     #include <linux/io.h>
    -#include <linux/pinctrl/consumer.h>
     #include <linux/of_device.h>
     #include <linux/dma-mapping.h>
     #include <linux/fsl/mxs-dma.h>
    @@ -1059,7 +1058,6 @@ static int mxs_auart_probe(struct platform_device *pdev)
     	u32 version;
     	int ret = 0;
     	struct resource *r;
    -	struct pinctrl *pinctrl;
     
     	s = kzalloc(sizeof(struct mxs_auart_port), GFP_KERNEL);
     	if (!s) {
    @@ -1073,12 +1071,6 @@ static int mxs_auart_probe(struct platform_device *pdev)
     	else if (ret < 0)
     		goto out_free;
     
    -	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
    -	if (IS_ERR(pinctrl)) {
    -		ret = PTR_ERR(pinctrl);
    -		goto out_free;
    -	}
    -
     	if (of_id) {
     		pdev->id_entry = of_id->data;
     		s->devtype = pdev->id_entry->driver_data;
    -- 
    1.7.9.5
    
    
    
    ^ permalink raw reply related	[flat|nested] 33+ messages in thread
  • * [PATCH 12/13] ASoC: fsl: imx-audmux: Let device core handle pinctrl
           [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                       ` (5 preceding siblings ...)
      2013-05-06 18:05 ` [PATCH 10/13] serial: mxs-auart: " Fabio Estevam
    @ 2013-05-06 18:06 ` Fabio Estevam
      2013-05-06 19:21   ` Mark Brown
      2013-05-06 18:06 ` [PATCH 13/13] ASoC: mxs: mxs-saif: " Fabio Estevam
      7 siblings, 1 reply; 33+ messages in thread
    From: Fabio Estevam @ 2013-05-06 18:06 UTC (permalink / raw)
      To: shawn.guo; +Cc: Fabio Estevam, alsa-devel, Mark Brown, festevam, kernel
    
    Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
    we can rely on device core for handling pinctrl.
    
    So remove devm_pinctrl_get_select_default() from the driver. 
    
    Cc: Mark Brown <broonie@kernel.org>
    Cc: <alsa-devel@alsa-project.org>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
     sound/soc/fsl/imx-audmux.c |    8 --------
     1 file changed, 8 deletions(-)
    
    diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
    index 3f333e5..22967c6 100644
    --- a/sound/soc/fsl/imx-audmux.c
    +++ b/sound/soc/fsl/imx-audmux.c
    @@ -26,7 +26,6 @@
     #include <linux/of_device.h>
     #include <linux/platform_device.h>
     #include <linux/slab.h>
    -#include <linux/pinctrl/consumer.h>
     
     #include "imx-audmux.h"
     
    @@ -247,7 +246,6 @@ EXPORT_SYMBOL_GPL(imx_audmux_v2_configure_port);
     static int imx_audmux_probe(struct platform_device *pdev)
     {
     	struct resource *res;
    -	struct pinctrl *pinctrl;
     	const struct of_device_id *of_id =
     			of_match_device(imx_audmux_dt_ids, &pdev->dev);
     
    @@ -256,12 +254,6 @@ static int imx_audmux_probe(struct platform_device *pdev)
     	if (IS_ERR(audmux_base))
     		return PTR_ERR(audmux_base);
     
    -	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
    -	if (IS_ERR(pinctrl)) {
    -		dev_err(&pdev->dev, "setup pinctrl failed!");
    -		return PTR_ERR(pinctrl);
    -	}
    -
     	audmux_clk = clk_get(&pdev->dev, "audmux");
     	if (IS_ERR(audmux_clk)) {
     		dev_dbg(&pdev->dev, "cannot get clock: %ld\n",
    -- 
    1.7.9.5
    
    ^ permalink raw reply related	[flat|nested] 33+ messages in thread
  • * [PATCH 13/13] ASoC: mxs: mxs-saif: Let device core handle pinctrl
           [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
                       ` (6 preceding siblings ...)
      2013-05-06 18:06 ` [PATCH 12/13] ASoC: fsl: imx-audmux: " Fabio Estevam
    @ 2013-05-06 18:06 ` Fabio Estevam
      2013-05-06 19:22   ` Mark Brown
      7 siblings, 1 reply; 33+ messages in thread
    From: Fabio Estevam @ 2013-05-06 18:06 UTC (permalink / raw)
      To: shawn.guo; +Cc: Fabio Estevam, alsa-devel, Mark Brown, festevam, kernel
    
    Since commit ab78029 (drivers/pinctrl: grab default handles from device core),
    we can rely on device core for handling pinctrl.
    
    So remove devm_pinctrl_get_select_default() from the driver. 
    
    Cc: Mark Brown <broonie@kernel.org>
    Cc: <alsa-devel@alsa-project.org>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
     sound/soc/mxs/mxs-saif.c |    8 --------
     1 file changed, 8 deletions(-)
    
    diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
    index 3a2aa1d..12723b0 100644
    --- a/sound/soc/mxs/mxs-saif.c
    +++ b/sound/soc/mxs/mxs-saif.c
    @@ -27,7 +27,6 @@
     #include <linux/delay.h>
     #include <linux/time.h>
     #include <linux/fsl/mxs-dma.h>
    -#include <linux/pinctrl/consumer.h>
     #include <sound/core.h>
     #include <sound/pcm.h>
     #include <sound/pcm_params.h>
    @@ -661,7 +660,6 @@ static int mxs_saif_probe(struct platform_device *pdev)
     	struct device_node *np = pdev->dev.of_node;
     	struct resource *iores, *dmares;
     	struct mxs_saif *saif;
    -	struct pinctrl *pinctrl;
     	int ret = 0;
     	struct device_node *master;
     
    @@ -701,12 +699,6 @@ static int mxs_saif_probe(struct platform_device *pdev)
     
     	mxs_saif[saif->id] = saif;
     
    -	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
    -	if (IS_ERR(pinctrl)) {
    -		ret = PTR_ERR(pinctrl);
    -		return ret;
    -	}
    -
     	saif->clk = devm_clk_get(&pdev->dev, NULL);
     	if (IS_ERR(saif->clk)) {
     		ret = PTR_ERR(saif->clk);
    -- 
    1.7.9.5
    
    ^ permalink raw reply related	[flat|nested] 33+ messages in thread

  • end of thread, other threads:[~2013-07-01 11:50 UTC | newest]
    
    Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1367863561-11534-1-git-send-email-fabio.estevam@freescale.com>
         [not found] ` <1367863561-11534-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
    2013-05-06 18:05   ` [PATCH 02/13] i2c: i2c-imx: Let device core handle pinctrl Fabio Estevam
    2013-05-06 18:05   ` [PATCH 03/13] i2c: i2c-mxs: " Fabio Estevam
         [not found]     ` <1367863561-11534-3-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
    2013-05-26 20:58       ` Fabio Estevam
         [not found]         ` <CAOMZO5Bju3v4gXayzZ6vMjr9WrSqcYWN+6fnyKMc3AaoYt44Gg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
    2013-06-08  7:15           ` Wolfram Sang
    2013-06-08  7:49             ` Fabio Estevam
         [not found]               ` <CAOMZO5DQW7fB3Xi8mvymWhVZYcjuwTHKPyfDsWZCfw79AdUT7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
    2013-06-10 13:51                 ` Wolfram Sang
    2013-05-06 18:05   ` [PATCH 07/13] spi: spi-imx: " Fabio Estevam
    2013-05-06 18:05   ` [PATCH 08/13] spi: spi-mxs: " Fabio Estevam
    2013-05-06 18:05 ` [PATCH 04/13] mmc: mxs-mmc: " Fabio Estevam
    2013-05-26 21:01   ` Fabio Estevam
    2013-06-27 15:20     ` Chris Ball
    2013-05-06 18:05 ` [PATCH 05/13] mtd: gpmi-nand : " Fabio Estevam
    2013-05-26 21:00   ` Fabio Estevam
    2013-07-01  5:19   ` Artem Bityutskiy
    2013-07-01 11:27     ` Fabio Estevam
    2013-07-01 11:49   ` Artem Bityutskiy
    2013-05-06 18:05 ` [PATCH 06/13] pwm: pwm-mxs: " Fabio Estevam
    2013-05-08 11:51   ` Alexander Shishkin
    2013-05-08 13:53     ` Shawn Guo
    2013-05-14 12:33       ` Alexander Shishkin
    2013-05-14 12:38         ` Alexander Shishkin
    2013-05-26 21:02   ` Fabio Estevam
    2013-05-26 21:23     ` Thierry Reding
    2013-05-06 18:05 ` [PATCH 09/13] serial: imx: " Fabio Estevam
    2013-05-20 18:50   ` Greg Kroah-Hartman
    2013-05-26 17:46     ` Fabio Estevam
    2013-05-26 19:01       ` Greg Kroah-Hartman
    2013-05-06 18:05 ` [PATCH 10/13] serial: mxs-auart: " Fabio Estevam
    2013-05-20 18:49   ` Greg Kroah-Hartman
    2013-05-06 18:06 ` [PATCH 12/13] ASoC: fsl: imx-audmux: " Fabio Estevam
    2013-05-06 19:21   ` Mark Brown
    2013-05-06 18:06 ` [PATCH 13/13] ASoC: mxs: mxs-saif: " Fabio Estevam
    2013-05-06 19:22   ` Mark Brown
    

    This is an external index of several public inboxes,
    see mirroring instructions on how to clone and mirror
    all data and code used by this external index.