Applied a whole slew of patches, getting RAM usage down by a further 10 MB.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*
|
||||
* TODO: Add the Genius Serial Mouse.
|
||||
*
|
||||
* Version: @(#)mouse_serial.c 1.0.20 2018/01/25
|
||||
* Version: @(#)mouse_serial.c 1.0.21 2018/03/18
|
||||
*
|
||||
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
*/
|
||||
@@ -196,7 +196,7 @@ sermouse_close(void *priv)
|
||||
|
||||
/* Initialize the device for use by the user. */
|
||||
static void *
|
||||
sermouse_init(device_t *info)
|
||||
sermouse_init(const device_t *info)
|
||||
{
|
||||
mouse_t *dev;
|
||||
int i;
|
||||
@@ -247,7 +247,7 @@ sermouse_init(device_t *info)
|
||||
}
|
||||
|
||||
|
||||
static device_config_t sermouse_config[] = {
|
||||
static const device_config_t sermouse_config[] = {
|
||||
{
|
||||
"port", "Serial Port", CONFIG_SELECTION, "", 0, {
|
||||
{
|
||||
@@ -283,7 +283,7 @@ static device_config_t sermouse_config[] = {
|
||||
};
|
||||
|
||||
|
||||
device_t mouse_mssystems_device = {
|
||||
const device_t mouse_mssystems_device = {
|
||||
"Mouse Systems Serial Mouse",
|
||||
0,
|
||||
MOUSE_TYPE_MSYSTEMS,
|
||||
@@ -292,7 +292,7 @@ device_t mouse_mssystems_device = {
|
||||
sermouse_config
|
||||
};
|
||||
|
||||
device_t mouse_msserial_device = {
|
||||
const device_t mouse_msserial_device = {
|
||||
"Microsoft/Logitech Serial Mouse",
|
||||
0,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user