Changeset 4e3bfab in mainline
- Timestamp:
- 2013-01-20T20:04:56Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 163bc23
- Parents:
- d57ff6f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/amdm37x_dispc/main.c
rd57ff6f r4e3bfab 37 37 #include <errno.h> 38 38 #include <stdio.h> 39 #include <loc.h>40 #include <async.h>41 #include <task.h>42 #include <graph.h>43 39 #include "port.h" 44 40 45 41 #define NAME "amdm37x_dispc" 46 42 47 static int kgraph_dev_add(ddf_dev_t *dev)43 static int amdm37x_dispc_dev_add(ddf_dev_t *dev) 48 44 { 49 45 port_init(dev); … … 52 48 } 53 49 54 static driver_ops_t kgraph_driver_ops = {55 .dev_add = kgraph_dev_add,50 static driver_ops_t amdm37x_dispc_driver_ops = { 51 .dev_add = amdm37x_dispc_dev_add, 56 52 }; 57 53 58 static driver_t kgraph_driver = {54 static driver_t amdm37x_dispc_driver = { 59 55 .name = NAME, 60 .driver_ops = & kgraph_driver_ops56 .driver_ops = &amdm37x_dispc_driver_ops 61 57 }; 62 58 63 59 int main(int argc, char *argv[]) 64 60 { 65 printf("%s: HelenOS kernelframebuffer 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); 67 63 } 68 64
Note:
See TracChangeset
for help on using the changeset viewer.