@@ -108,7 +108,8 @@ void vfbdev_probe(struct vbus_device *vdev)
108108
109109 /* Prepare the shared to page to be visible on the other end */
110110
111- vfbdev_priv -> vfbdev .ring_ref = vbus_grant_ring (vdev , phys_to_pfn (virt_to_phys_pt ((addr_t ) vfbdev_priv -> vfbdev .ring .sring )));
111+ vfbdev_priv -> vfbdev .ring_ref =
112+ vbus_grant_ring (vdev , phys_to_pfn (virt_to_phys_pt ((addr_t ) vfbdev_priv -> vfbdev .ring .sring )));
112113
113114 vbus_transaction_start (& vbt );
114115
@@ -201,13 +202,15 @@ void vfbdev_connected(struct vbus_device *vdev)
201202 DBG0 ("[vfbdev] Frontend connected\n" );
202203}
203204
204- vdrvfront_t vfbdevdrv = { .probe = vfbdev_probe ,
205- .reconfiguring = vfbdev_reconfiguring ,
206- .shutdown = vfbdev_shutdown ,
207- .closed = vfbdev_closed ,
208- .suspend = vfbdev_suspend ,
209- .resume = vfbdev_resume ,
210- .connected = vfbdev_connected };
205+ vdrvfront_t vfbdevdrv = {
206+ .probe = vfbdev_probe ,
207+ .reconfiguring = vfbdev_reconfiguring ,
208+ .shutdown = vfbdev_shutdown ,
209+ .closed = vfbdev_closed ,
210+ .suspend = vfbdev_suspend ,
211+ .resume = vfbdev_resume ,
212+ .connected = vfbdev_connected ,
213+ };
211214
212215/* Char device associated to the framebuffer */
213216
@@ -314,7 +317,6 @@ static int vfbdev_ioctl(int fd, unsigned long cmd, unsigned long args)
314317 }
315318}
316319
317-
318320static struct file_operations vfbdev_fops = {
319321 .mmap = vfbdev_mmap ,
320322 .ioctl = vfbdev_ioctl ,
0 commit comments