#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/poll.h>
+#include <linux/dma-mapping.h>
+
#include <asm/uaccess.h>
#include <asm/semaphore.h>
return -ENOMEM;
if (ctx->descriptor_bus & 0xf)
- fw_notify("descriptor not 16-byte aligned: 0x%08x\n",
- ctx->descriptor_bus);
+ fw_notify("descriptor not 16-byte aligned: 0x%08lx\n",
+ (unsigned long)ctx->descriptor_bus);
ctx->buffer_bus =
dma_map_single(ohci->card.device, ctx->buffer,
return 0;
}
-static struct fw_card_driver ohci_driver = {
+static const struct fw_card_driver ohci_driver = {
.name = ohci_driver_name,
.enable = ohci_enable,
.update_phy_reg = ohci_update_phy_reg,