Commit fec607fff973b1d7805c1bbce5834690857e7801

Authored by Al Viro
Committed by Linus Torvalds
1 parent bc05d83bbf

[PATCH] sbus/char/uctrl: missing prototypes and NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 5 additions and 5 deletions Side-by-side Diff

drivers/sbus/char/uctrl.c
... ... @@ -309,7 +309,7 @@
309 309 }
310 310 }
311 311  
312   -void uctrl_get_event_status()
  312 +void uctrl_get_event_status(void)
313 313 {
314 314 struct uctrl_driver *driver = &drv;
315 315 struct uctrl_txn txn;
... ... @@ -318,7 +318,7 @@
318 318 txn.opcode = READ_EVENT_STATUS;
319 319 txn.inbits = 0;
320 320 txn.outbits = 2;
321   - txn.inbuf = 0;
  321 + txn.inbuf = NULL;
322 322 txn.outbuf = outbits;
323 323  
324 324 uctrl_do_txn(&txn);
... ... @@ -329,7 +329,7 @@
329 329 dprintk(("ev is %x\n", driver->status.event_status));
330 330 }
331 331  
332   -void uctrl_get_external_status()
  332 +void uctrl_get_external_status(void)
333 333 {
334 334 struct uctrl_driver *driver = &drv;
335 335 struct uctrl_txn txn;
... ... @@ -339,7 +339,7 @@
339 339 txn.opcode = READ_EXTERNAL_STATUS;
340 340 txn.inbits = 0;
341 341 txn.outbits = 2;
342   - txn.inbuf = 0;
  342 + txn.inbuf = NULL;
343 343 txn.outbuf = outbits;
344 344  
345 345 uctrl_do_txn(&txn);
... ... @@ -414,7 +414,7 @@
414 414 if (driver->irq)
415 415 free_irq(driver->irq, driver);
416 416 if (driver->regs)
417   - driver->regs = 0;
  417 + driver->regs = NULL;
418 418 }
419 419  
420 420 module_init(ts102_uctrl_init);