summaryrefslogtreecommitdiffstats
path: root/driver/ioctl.c
diff options
context:
space:
mode:
authorroot <root@iss-tomyspiel-l>2011-06-16 04:28:59 +0200
committerroot <root@iss-tomyspiel-l>2011-06-16 04:28:59 +0200
commit1aafef50177b850efda576259cb78d2df7d03259 (patch)
tree4ccf44b46983b652b741f7b92dd394c4dc600748 /driver/ioctl.c
parent3215a87dbbce676aa434a6d5b4835e456dac3605 (diff)
downloadipecamera-1aafef50177b850efda576259cb78d2df7d03259.tar.gz
ipecamera-1aafef50177b850efda576259cb78d2df7d03259.tar.bz2
ipecamera-1aafef50177b850efda576259cb78d2df7d03259.tar.xz
ipecamera-1aafef50177b850efda576259cb78d2df7d03259.zip
A bit of DMA infrastructure
Diffstat (limited to 'driver/ioctl.c')
-rw-r--r--driver/ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/ioctl.c b/driver/ioctl.c
index 6240d31..dacf94a 100644
--- a/driver/ioctl.c
+++ b/driver/ioctl.c
@@ -143,7 +143,7 @@ static int ioctl_pci_info(pcidriver_privdata_t *privdata, unsigned long arg)
{
int ret;
int bar;
- READ_FROM_USER(pci_board_info, pci_info);
+ READ_FROM_USER(pcilib_board_info_t, pci_info);
pci_info.vendor_id = privdata->pdev->vendor;
pci_info.device_id = privdata->pdev->device;
@@ -163,7 +163,7 @@ static int ioctl_pci_info(pcidriver_privdata_t *privdata, unsigned long arg)
pci_info.bar_flags[bar] = pci_resource_flags(privdata->pdev, bar);
}
- WRITE_TO_USER(pci_board_info, pci_info);
+ WRITE_TO_USER(pcilib_board_info_t, pci_info);
return 0;
}