Commit 1c339eb183bb48095feaa46057ac4f4f0603dbf9

Authored by Scott James Remnant
Committed by David S. Miller
1 parent 0796e75503

sbus: Auto-load openprom module when device opened.

The openprom module is missing the char-major-10-139 alias that would
cause it to be auto-loaded when a device of that type is opened.  This
patch adds the alias.

Signed-off-by: Scott James Remnant <scott@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/sbus/char/openprom.c
... ... @@ -51,6 +51,7 @@
51 51 MODULE_DESCRIPTION("OPENPROM Configuration Driver");
52 52 MODULE_LICENSE("GPL");
53 53 MODULE_VERSION("1.0");
  54 +MODULE_ALIAS_MISCDEV(SUN_OPENPROM_MINOR);
54 55  
55 56 /* Private data kept by the driver for each descriptor. */
56 57 typedef struct openprom_private_data