summaryrefslogtreecommitdiff
path: root/libbacklight.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2010-09-09 14:08:53 -0400
committerMatthew Garrett <mjg@redhat.com>2010-09-09 14:08:53 -0400
commit5d5396bc125f2a180ed773c8bc077a694a2df178 (patch)
tree85c06fa782fbab9dad3c748185ec7e4bda2391c5 /libbacklight.h
parent531592abd27942ad84c27d9911daeac0ffa9cf74 (diff)
Add a destroy function
Diffstat (limited to 'libbacklight.h')
-rw-r--r--libbacklight.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbacklight.h b/libbacklight.h
index 20981bd..baf7e8a 100644
--- a/libbacklight.h
+++ b/libbacklight.h
@@ -13,6 +13,7 @@ struct backlight {
enum backlight_type type;
};
+void backlight_destroy(struct backlight *backlight);
struct backlight *backlight_init(struct pci_device *dev, int card,
int connector_type, int connector_type_id);
long backlight_get_brightness(struct backlight *backlight);