Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8683
b: refs/heads/master
c: 20dd026
h: refs/heads/master
i:
  8681: 77a4f58
  8679: 9ab8c86
v: v3
  • Loading branch information
Christophe Lucas authored and Greg Kroah-Hartman committed Sep 9, 2005
1 parent bcc5fbc commit 8b96bc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49a1fd60d2a8e671222515cf6055e91781278517
refs/heads/master: 20dd026d7f5a6972dc78b4928a99620001fa547d
8 changes: 4 additions & 4 deletions trunk/Documentation/firmware_class/firmware_sample_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ static void sample_firmware_load(char *firmware, int size)
u8 buf[size+1];
memcpy(buf, firmware, size);
buf[size] = '\0';
printk("firmware_sample_driver: firmware: %s\n", buf);
printk(KERN_INFO "firmware_sample_driver: firmware: %s\n", buf);
}

static void sample_probe_default(void)
{
/* uses the default method to get the firmware */
const struct firmware *fw_entry;
printk("firmware_sample_driver: a ghost device got inserted :)\n");
printk(KERN_INFO "firmware_sample_driver: a ghost device got inserted :)\n");

if(request_firmware(&fw_entry, "sample_driver_fw", &ghost_device)!=0)
{
Expand All @@ -61,7 +61,7 @@ static void sample_probe_specific(void)

/* NOTE: This currently doesn't work */

printk("firmware_sample_driver: a ghost device got inserted :)\n");
printk(KERN_INFO "firmware_sample_driver: a ghost device got inserted :)\n");

if(request_firmware(NULL, "sample_driver_fw", &ghost_device)!=0)
{
Expand All @@ -83,7 +83,7 @@ static void sample_probe_async_cont(const struct firmware *fw, void *context)
return;
}

printk("firmware_sample_driver: device pointer \"%s\"\n",
printk(KERN_INFO "firmware_sample_driver: device pointer \"%s\"\n",
(char *)context);
sample_firmware_load(fw->data, fw->size);
}
Expand Down

0 comments on commit 8b96bc5

Please sign in to comment.