nouveau: initialise has_optimus variable.
authorDave Airlie <airlied@redhat.com>
Wed, 2 May 2012 19:26:24 +0000 (20:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2012 15:53:36 +0000 (08:53 -0700)
commitf24f9104f70cabc2534b16f94149d33127d249d5
tree016310a9efd5f3b3d20c1f1f140cb2d1c9e4c12d
parent1d6ec3a7ad57db0a71694aed3a37d9a89870d4b6
nouveau: initialise has_optimus variable.

commit addde4ec31456c5f1e9b61aae3edcfeb0f338f87 upstream.

We should initialise this to 0 really to avoid getting false positives.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nouveau_acpi.c