X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fparisc%2Flib%2Fiomap.c;fp=arch%2Fparisc%2Flib%2Fiomap.c;h=01bec8fcbd0d180b120cc4995fe8b0aaf5b14025;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=f4a811690ab30e1dc4aa9b077c657a8b5ec01faf;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/parisc/lib/iomap.c b/arch/parisc/lib/iomap.c index f4a811690..01bec8fcb 100644 --- a/arch/parisc/lib/iomap.c +++ b/arch/parisc/lib/iomap.c @@ -263,7 +263,11 @@ static const struct iomap_ops iomem_ops = { const struct iomap_ops *iomap_ops[8] = { [0] = &ioport_ops, +#ifdef CONFIG_DEBUG_IOREMAP + [6] = &iomem_ops, +#else [7] = &iomem_ops +#endif };