]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/amba/bus.c
ARM: 6368/1: move the PrimeCell IDs to use macros
[net-next-2.6.git] / drivers / amba / bus.c
index d31590e7011bf895092535d15af5df6cc2e62df5..2737b97522052e7a653eb9c7622132a07a6bcded 100644 (file)
@@ -298,7 +298,7 @@ int amba_device_register(struct amba_device *dev, struct resource *parent)
 
                amba_put_disable_pclk(dev);
 
-               if (cid == 0xb105f00d)
+               if (cid == AMBA_CID)
                        dev->periphid = pid;
 
                if (!dev->periphid)