1
0

Store device's names and add more startup messages

This commit is contained in:
2012-10-07 23:38:37 -04:00
parent d7f354221f
commit a64668b239
6 changed files with 19 additions and 3 deletions

View File

@ -113,6 +113,7 @@ int bcm2835_videocore_init_dev(struct fb *f, unsigned int color_depth) {
}
struct fb_dev videocore_dev = {
.name ="bcm2835_videocore",
.init = &bcm2835_videocore_init_dev
};

View File

@ -110,6 +110,7 @@ int mini_uart_putc(char c) {
}
struct serial_dev mini_uart_dev = {
.name = "pi_mini_uart",
.putc = &mini_uart_putc
};

View File

@ -38,6 +38,7 @@ int pl011_putc(char c)
}
struct serial_dev pl011_dev = {
.name = "pl011",
.putc = &pl011_putc
};

View File

@ -92,6 +92,7 @@ int pl111_init_dev(struct fb *f, unsigned int color_depth) {
}
struct fb_dev pl111_dev = {
.name = "pl111",
.init = &pl111_init_dev
};