Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1f9767df1346c9ce09d6e51b9f34b851e3d94fad
Commit:     1f9767df1346c9ce09d6e51b9f34b851e3d94fad
Parent:     79a8f70b4b9127eacfc91dd1436c4a7be05e62ab
Author:     Kristen Carlson Accardi <[EMAIL PROTECTED]>
AuthorDate: Wed May 9 15:55:53 2007 -0700
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu May 10 03:30:42 2007 -0400

    ACPI: bay: unsuppress uevents
    
    Since platform devices seem to get uevents suppressed by default,
    manually unsuppress for the bay device since we want to be able
    to send uevents.
    
    Signed-off-by:  Kristen Carlson Accardi <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/acpi/bay.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c
index fb3f31b..00d3f3f 100644
--- a/drivers/acpi/bay.c
+++ b/drivers/acpi/bay.c
@@ -288,6 +288,11 @@ static int bay_add(acpi_handle handle, int id)
        new_bay->pdev = pdev;
        platform_set_drvdata(pdev, new_bay);
 
+       /*
+        * we want the bay driver to be able to send uevents
+        */
+       pdev->dev.uevent_suppress = 0;
+
        if (acpi_bay_add_fs(new_bay)) {
                platform_device_unregister(new_bay->pdev);
                goto bay_add_err;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to