diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2011-02-05 00:54:58 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2011-02-05 00:54:58 +0100 |
| commit | 1d0a993ae9719c3054bf47b5ff019bf216fe9c98 (patch) | |
| tree | f946306b27139a0911a2594a9b5ba11c7e5d3238 /lib/gdi | |
| parent | 3ca124dd916f82dcfd4f069daf1a3f342956e520 (diff) | |
| download | enigma2-1d0a993ae9719c3054bf47b5ff019bf216fe9c98.tar.gz enigma2-1d0a993ae9719c3054bf47b5ff019bf216fe9c98.zip | |
don't use devfs names: /dev/fb/0 -> /dev/fb0
Diffstat (limited to 'lib/gdi')
| -rw-r--r-- | lib/gdi/bcm.cpp | 4 | ||||
| -rw-r--r-- | lib/gdi/fb.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/gdi/bcm.cpp b/lib/gdi/bcm.cpp index 12b5f22a..ccf16f41 100644 --- a/lib/gdi/bcm.cpp +++ b/lib/gdi/bcm.cpp @@ -23,10 +23,10 @@ static int exec_list(void); int bcm_accel_init(void) { - fb_fd = open("/dev/fb/0", O_RDWR); + fb_fd = open("/dev/fb0", O_RDWR); if (fb_fd < 0) { - perror("/dev/fb/0"); + perror("/dev/fb0"); return 1; } if (exec_list()) diff --git a/lib/gdi/fb.h b/lib/gdi/fb.h index 54473805..fcb5ff27 100644 --- a/lib/gdi/fb.h +++ b/lib/gdi/fb.h @@ -19,7 +19,7 @@ class fbClass int m_number_of_pages; int m_phys_mem; #ifdef SWIG - fbClass(const char *fb="/dev/fb/0"); + fbClass(const char *fb="/dev/fb0"); ~fbClass(); public: #else @@ -41,7 +41,7 @@ public: unsigned int Stride() { return stride; } fb_cmap *CMAP() { return &cmap; } - fbClass(const char *fb="/dev/fb/0"); + fbClass(const char *fb="/dev/fb0"); ~fbClass(); // low level gfx stuff |
