-static int cell_of_bus_notify(struct notifier_block *nb, unsigned long action,
- void *data)
-{
- struct device *dev = data;
-
- if (action != BUS_NOTIFY_ADD_DEVICE)
- return 0;
-
- /* For now, we just use the PCI DMA ops for everything, though
- * we'll need something better when we have a real iommu
- * implementation.
- */
- dev->archdata.dma_ops = pci_dma_ops;
-
- return 0;
-}
-
-static struct notifier_block cell_of_bus_notifier = {
- .notifier_call = cell_of_bus_notify
-};
-
-