aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/moxa.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-04-30 03:53:49 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 11:29:43 -0400
commitec09cd562135158dcb8a6c08e5a9efa36febedb1 (patch)
tree02963fb49a6715c818c48f7cd9c6a6d7fb55b738 /drivers/char/moxa.c
parentb9705b603d1d29471aa2977e6310f4f9a4e85925 (diff)
Char: moxa, add firmware loading fix
Be more verbose on fw load fail as noted by Oyvind. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Oyvind Aabling <Oyvind.Aabling@uni-c.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/moxa.c')
-rw-r--r--drivers/char/moxa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c
index 6757b1922f4f..1ab9517c24c5 100644
--- a/drivers/char/moxa.c
+++ b/drivers/char/moxa.c
@@ -846,7 +846,10 @@ static int moxa_init_board(struct moxa_board_conf *brd, struct device *dev)
846 846
847 ret = request_firmware(&fw, file, dev); 847 ret = request_firmware(&fw, file, dev);
848 if (ret) { 848 if (ret) {
849 printk(KERN_ERR "request_firmware failed\n"); 849 printk(KERN_ERR "MOXA: request_firmware failed. Make sure "
850 "you've placed '%s' file into your firmware "
851 "loader directory (e.g. /lib/firmware)\n",
852 file);
850 goto err_free; 853 goto err_free;
851 } 854 }
852 855