Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4e3bfab in mainline


Ignore:
Timestamp:
2013-01-20T20:04:56Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
163bc23
Parents:
d57ff6f
Message:

amdm37x_dispc: Convert main.c file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/fb/amdm37x_dispc/main.c

    rd57ff6f r4e3bfab  
    3737#include <errno.h>
    3838#include <stdio.h>
    39 #include <loc.h>
    40 #include <async.h>
    41 #include <task.h>
    42 #include <graph.h>
    4339#include "port.h"
    4440
    4541#define NAME  "amdm37x_dispc"
    4642
    47 static int kgraph_dev_add(ddf_dev_t *dev)
     43static int amdm37x_dispc_dev_add(ddf_dev_t *dev)
    4844{
    4945        port_init(dev);
     
    5248}
    5349
    54 static driver_ops_t kgraph_driver_ops = {
    55         .dev_add = kgraph_dev_add,
     50static driver_ops_t amdm37x_dispc_driver_ops = {
     51        .dev_add = amdm37x_dispc_dev_add,
    5652};
    5753
    58 static driver_t kgraph_driver = {
     54static driver_t amdm37x_dispc_driver = {
    5955        .name = NAME,
    60         .driver_ops = &kgraph_driver_ops
     56        .driver_ops = &amdm37x_dispc_driver_ops
    6157};
    6258
    6359int main(int argc, char *argv[])
    6460{
    65         printf("%s: HelenOS kernel framebuffer driver\n", NAME);
    66         return ddf_driver_main(&kgraph_driver);
     61        printf("%s: HelenOS AM/DM37x framebuffer driver\n", NAME);
     62        return ddf_driver_main(&amdm37x_dispc_driver);
    6763}
    6864
Note: See TracChangeset for help on using the changeset viewer.