X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fsbus%2Fchar%2Fvfc.h;h=f1aa1389ea4ac231866310a92e2cbd625fef6a7c;hb=952f4a0a9b27e6dbd5d32e330b3f609ebfa0b061;hp=a7782e7da42ee9ce843a9a3ff79ac1a545569a8c;hpb=8aaf226a8eaa0823c4f3c58d5207004ff6e3e758;p=linux-2.6 diff --git a/drivers/sbus/char/vfc.h b/drivers/sbus/char/vfc.h index a7782e7da4..f1aa1389ea 100644 --- a/drivers/sbus/char/vfc.h +++ b/drivers/sbus/char/vfc.h @@ -1,8 +1,6 @@ #ifndef _LINUX_VFC_H_ #define _LINUX_VFC_H_ -#include - /* * The control register for the vfc is at offset 0x4000 * The first field ram bank is located at offset 0x5000 @@ -125,10 +123,10 @@ struct vfc_regs { struct vfc_dev { - volatile struct vfc_regs *regs; + volatile struct vfc_regs __iomem *regs; struct vfc_regs *phys_regs; unsigned int control_reg; - struct semaphore device_lock_sem; + struct mutex device_lock_mtx; int instance; int busy; unsigned long which_io;