Store device's names and add more startup messages
This commit is contained in:
@ -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
|
||||
};
|
||||
|
||||
|
@ -110,6 +110,7 @@ int mini_uart_putc(char c) {
|
||||
}
|
||||
|
||||
struct serial_dev mini_uart_dev = {
|
||||
.name = "pi_mini_uart",
|
||||
.putc = &mini_uart_putc
|
||||
};
|
||||
|
||||
|
@ -38,6 +38,7 @@ int pl011_putc(char c)
|
||||
}
|
||||
|
||||
struct serial_dev pl011_dev = {
|
||||
.name = "pl011",
|
||||
.putc = &pl011_putc
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user