diff options
Diffstat (limited to 'drivers/sbus/char/uctrl.c')
-rw-r--r-- | drivers/sbus/char/uctrl.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c index 513ba61ae966..777637594acd 100644 --- a/drivers/sbus/char/uctrl.c +++ b/drivers/sbus/char/uctrl.c | |||
@@ -195,8 +195,8 @@ struct uctrl_driver { | |||
195 | 195 | ||
196 | static struct uctrl_driver drv; | 196 | static struct uctrl_driver drv; |
197 | 197 | ||
198 | void uctrl_get_event_status(void); | 198 | static void uctrl_get_event_status(void); |
199 | void uctrl_get_external_status(void); | 199 | static void uctrl_get_external_status(void); |
200 | 200 | ||
201 | static int | 201 | static int |
202 | uctrl_ioctl(struct inode *inode, struct file *file, | 202 | uctrl_ioctl(struct inode *inode, struct file *file, |
@@ -266,12 +266,6 @@ static struct miscdevice uctrl_dev = { | |||
266 | driver->regs->uctrl_stat = UCTRL_STAT_RXNE_STA; \ | 266 | driver->regs->uctrl_stat = UCTRL_STAT_RXNE_STA; \ |
267 | } | 267 | } |
268 | 268 | ||
269 | void uctrl_set_video(int status) | ||
270 | { | ||
271 | struct uctrl_driver *driver = &drv; | ||
272 | |||
273 | } | ||
274 | |||
275 | static void uctrl_do_txn(struct uctrl_txn *txn) | 269 | static void uctrl_do_txn(struct uctrl_txn *txn) |
276 | { | 270 | { |
277 | struct uctrl_driver *driver = &drv; | 271 | struct uctrl_driver *driver = &drv; |
@@ -311,7 +305,7 @@ static void uctrl_do_txn(struct uctrl_txn *txn) | |||
311 | } | 305 | } |
312 | } | 306 | } |
313 | 307 | ||
314 | void uctrl_get_event_status(void) | 308 | static void uctrl_get_event_status(void) |
315 | { | 309 | { |
316 | struct uctrl_driver *driver = &drv; | 310 | struct uctrl_driver *driver = &drv; |
317 | struct uctrl_txn txn; | 311 | struct uctrl_txn txn; |
@@ -331,7 +325,7 @@ void uctrl_get_event_status(void) | |||
331 | dprintk(("ev is %x\n", driver->status.event_status)); | 325 | dprintk(("ev is %x\n", driver->status.event_status)); |
332 | } | 326 | } |
333 | 327 | ||
334 | void uctrl_get_external_status(void) | 328 | static void uctrl_get_external_status(void) |
335 | { | 329 | { |
336 | struct uctrl_driver *driver = &drv; | 330 | struct uctrl_driver *driver = &drv; |
337 | struct uctrl_txn txn; | 331 | struct uctrl_txn txn; |
@@ -363,7 +357,7 @@ void uctrl_get_external_status(void) | |||
363 | static int __init ts102_uctrl_init(void) | 357 | static int __init ts102_uctrl_init(void) |
364 | { | 358 | { |
365 | struct uctrl_driver *driver = &drv; | 359 | struct uctrl_driver *driver = &drv; |
366 | int len, i; | 360 | int len; |
367 | struct linux_prom_irqs tmp_irq[2]; | 361 | struct linux_prom_irqs tmp_irq[2]; |
368 | unsigned int vaddr[2] = { 0, 0 }; | 362 | unsigned int vaddr[2] = { 0, 0 }; |
369 | int tmpnode, uctrlnode = prom_getchild(prom_root_node); | 363 | int tmpnode, uctrlnode = prom_getchild(prom_root_node); |