static void notify_brn(void)
{
struct backlight_device *bd = eeepc_backlight_device;
----- -- bd->props.brightness = read_brightness(bd);
+++++ ++ if (bd)
+++++ ++ bd->props.brightness = read_brightness(bd);
++++ ++}
++++ ++
+++++++static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data)
+++++++{
+++++++ struct pci_dev *dev;
+++++++ struct pci_bus *bus = pci_find_bus(0, 1);
+++++++
+++++++ if (event != ACPI_NOTIFY_BUS_CHECK)
+++++++ return;
+++++++
+++++++ if (!bus) {
+++++++ printk(EEEPC_WARNING "Unable to find PCI bus 1?\n");
+++++++ return;
+++++++ }
+++++++
+++++++ if (get_acpi(CM_ASL_WLAN) == 1) {
+++++++ dev = pci_get_slot(bus, 0);
+++++++ if (dev) {
+++++++ /* Device already present */
+++++++ pci_dev_put(dev);
+++++++ return;
+++++++ }
+++++++ dev = pci_scan_single_device(bus, 0);
+++++++ if (dev) {
+++++++ pci_bus_assign_resources(bus);
+++++++ if (pci_bus_add_device(dev))
+++++++ printk(EEEPC_ERR "Unable to hotplug wifi\n");
+++++++ }
+++++++ } else {
+++++++ dev = pci_get_slot(bus, 0);
+++++++ if (dev) {
+++++++ pci_remove_bus_device(dev);
+++++++ pci_dev_put(dev);
+++++++ }
+++++++ }
+ }
+
static void eeepc_hotk_notify(acpi_handle handle, u32 event, void *data)
{
static struct key_entry *key;