]> git.sur5r.net Git - openocd/blobdiff - src/jtag/drivers/ftd2xx_common.h
Remove FSF address from GPL notices
[openocd] / src / jtag / drivers / ftd2xx_common.h
index 46bdfa262c0ce5b6133069cc745683452ca675b3..a43937015b6131b457e4073dcda8974aa16cbe07 100644 (file)
  *   GNU General Public License for more details.                          *
  *                                                                         *
  *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
 #ifndef _FTD2XX_COMMON_H
 #define _FTD2XX_COMMON_H
 
-#if BUILD_FT2232_FTD2XX == 1
+#if ((BUILD_FT2232_FTD2XX == 1) || (BUILD_PRESTO_FTD2XX == 1) || (BUILD_USB_BLASTER_FTD2XX == 1))
 #include <ftd2xx.h>
 
 static const char *ftd2xx_status_string(FT_STATUS status)
 {
-       switch (status)
-       {
+       switch (status) {
                case FT_OK:                                                     return "OK";
                case FT_INVALID_HANDLE:                         return "invalid handle";
                case FT_DEVICE_NOT_FOUND:                       return "device not found";